about summary refs log tree commit diff
path: root/Utilities/LibMatrix.HomeserverEmulator/appsettings.json
blob: b16968a0fd479bd83ef1483593841d7867fc7499 (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
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "AllowedHosts": "*",
  // Configuration for the proxy
  "MxApiExtensions": {
    // WARNING: this exposes user tokens to servers listed here, which could be a security risk
    // Only list servers you trust!
    // Keep in mind that token conflicts can occur between servers!
    "AuthHomeservers": [
      "rory.gay",
      "conduit.rory.gay"
    ],
    // List of administrator MXIDs for the proxy, this allows them to use administrative and debug endpoints
    "Admins": [
      "@emma:rory.gay",
      "@emma:conduit.rory.gay"
    ],
    "FastInitialSync": {
      "Enabled": true,
      "UseRoomInfoCache": true
    },
    "Cache": {
      "RoomInfo": {
        "BaseTtl": "00:01:00",
        "ExtraTtlPerState": "00:00:00.1000000"
      }
    },
    "DefaultUserConfiguration": {
      "ProtocolChanges": {
        "DisableThreads": false,
        "DisableVoip": false,
        "AutoFollowTombstones": false
      }
    }
  }
}