about summary refs log tree commit diff
path: root/MiniUtils/appsettings.Development.json
blob: 4cfb975f03bd57c2222f05c1b23b1b22ad878843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  // Don't touch this unless you know what you're doing:
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "LibMatrixBot": {
    // Homeserver to connect to.
    // Note: Homeserver resolution is applied here, but a direct base URL can be used.
    "Homeserver": "rory.gay",

    // Absolute path to the file containing the access token
    "AccessTokenPath": "/home/Rory/matrix_access_token",
    "InviteHandler": {
      "SyncConfiguration": {
        // How long to wait until the sync request times out
        //  "Timeout": 300000,

        // Minimum sync interval, useful if you want to have less traffic than a normal client.
        "MinimumSyncTime": "00:00:10.000",

        // What presence value to set
        // Defaults to "online" if null or not set
        // "Presence": "online",

        // Filter to apply to the sync request. Useful if you want custom data to be sent.
        // "Filter": { },
        
        // Whether to initial sync on startup - very useful in development, or just to be sure.
        "InitialSyncOnStartup": true
      }
    }
  },
  "AntiDmSpam": {
    // Whether invites should be logged to a room.
    "LogRoom": "!GrLSwdAkdrvfMrRYKR:rory.gay",
    "LogInviteDataAsFile": true,
    // Whether to report users and rooms when an invite is blocked.
    "ReportBlockedInvites": true,
    // WARNING: If you're a room moderator, this will cause your client to not receive events from ignored users!
    "IgnoreBannedUsers": true,
    // Policy lists to follow
    "PolicyLists": [
      {
        "Name": "Community Moderation Effort",
        "RoomId": "!fTjMjIzNKEsFlUIiru:neko.dev",
        "Vias": [ "rory.gay" ]
      }
    ]
  }
}