-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml.example
31 lines (29 loc) · 1.21 KB
/
config.toml.example
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
homeserver = "https://example.com" # Required
username = "example_user" # Required
password = "example_password" # Required or
# access_token = "syt_..."
admin_user_id = [] # Default
# For each bridge:
[[bridge]] # Required
name = "example_bridge" # Required
# For each input room
[[bridge.input]] # Required
room_id = "!yRjNdMVvyeIgpYRBit:example.com" # Required
required_prefix = "" # Default
required_sender_user_id = [] # Default
# For each output room
[[bridge.output]] # Required
room_id = "!OGEhHVWSdvArJzumhm:example.com" # Required
format = "(%user_id): %message" # Default
[[bridge]]
name = "another_bridge"
[[bridge.input]]
room_id = "!ovGZXReQuDFezAaAfr:example.com"
required_prefix = "b!" # Only bridge messages that start with "b!", not including the "b!"
required_sender_user_id = ["@user:example.com"] # Only bridge messages sent by @user:example.com
[[bridge.input]] # Input from multiple rooms
room_id = "!jxlRxnrZCsjpjDubDX:example.com"
[[bridge.output]]
room_id = "!HRNVeGThDQRMYdGzLD:example.com"
[[bridge.output]] # Output to multiple rooms
room_id = "!JiiOHXrIUCtcOJsZCa:example.com"