summary refs log tree commit diff
path: root/MatrixInviteLogger/appsettings.Development.json
blob: 92d8675454832dfefc42bbf27fbc7e67b8d96ecb (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
{
  // 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": { }
      }
    }
  },
  "InviteLogger": {
    // Room to log invites to. Note that data will be posted without encryption, even if the room is encrypted!
    "LogRoom": "!GrLSwdAkdrvfMrRYKR:rory.gay",
    
    // Send the invite data as a file, separately to linking it in the message event
    // Provides easy manual access - defaults to false 
    "SendInviteDataAsFile": true
  }
}