Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

476 linhas
28 KiB

  1. #jinja2: lstrip_blocks: True
  2. # Network-specific config options
  3. network:
  4. # Proxy to use for all Steam connections.
  5. proxy: null
  6. # Alternative to proxy: an HTTP endpoint that returns the proxy URL to use for Steam connections.
  7. get_proxy_url: null
  8. # Displayname template for Steam users.
  9. displayname_template: {{ matrix_steam_bridge_network_displayname_template | to_json }}
  10. # Maximum number of conversations to sync on startup
  11. conversation_sync_limit: 20
  12. steam_bridge_path: ./
  13. steam_bridge_address: localhost:50051
  14. steam_bridge_auto_start: true
  15. steam_bridge_startup_timeout: 30
  16. # Presence synchronization settings
  17. presence:
  18. # Enable presence tracking from Matrix to Steam
  19. # When enabled, your Steam status will automatically change based on
  20. # your Matrix presence and activity
  21. enabled: {{ matrix_steam_bridge_network_presence_enabled | to_json }}
  22. # Inactivity timeout in minutes before changing Steam status
  23. # This is used as a fallback when your Matrix server doesn't support
  24. # presence tracking. After this many minutes without Matrix activity,
  25. # your Steam status will change (see inactivity_status below)
  26. # Set to 0 to disable automatic away
  27. inactivity_timeout: 15
  28. # Status to set after inactivity timeout
  29. # Valid values: "snooze" (appear away/idle) or "invisible" (appear offline)
  30. inactivity_status: {{ matrix_steam_bridge_network_presence_inactivity_status | to_json }}
  31. # Whether typing events in Matrix should reset the inactivity timer
  32. # When true, typing will count as activity and keep you marked as online
  33. typing_resets_presence: true
  34. # Whether sending read receipts in Matrix should reset the inactivity timer
  35. # When true, reading messages will count as activity and keep you marked as online
  36. read_receipts_reset_presence: false
  37. # Config options that affect the central bridge module.
  38. bridge:
  39. # The prefix for commands. Only required in non-management rooms.
  40. command_prefix: {{ matrix_steam_bridge_command_prefix | to_json }}
  41. # Should the bridge create a space for each login containing the rooms that account is in?
  42. personal_filtering_spaces: true
  43. # Whether the bridge should set names and avatars explicitly for DM portals.
  44. # This is only necessary when using clients that don't support MSC4171.
  45. private_chat_portal_meta: true
  46. # Should events be handled asynchronously within portal rooms?
  47. # If true, events may end up being out of order, but slow events won't block other ones.
  48. # This is not yet safe to use.
  49. async_events: false
  50. # Should every user have their own portals rather than sharing them?
  51. # By default, users who are in the same group on the remote network will be
  52. # in the same Matrix room bridged to that group. If this is set to true,
  53. # every user will get their own Matrix room instead.
  54. split_portals: {{ matrix_steam_bridge_bridge_split_portals | to_json }}
  55. # Should the bridge resend `m.bridge` events to all portals on startup?
  56. resend_bridge_info: false
  57. # Should `m.bridge` events be sent without a state key?
  58. # By default, the bridge uses a unique key that won't conflict with other bridges.
  59. no_bridge_info_state_key: false
  60. # Should bridge connection status be sent to the management room as `m.notice` events?
  61. # These contain the same data that can be posted to an external HTTP server using homeserver -> status_endpoint.
  62. # Allowed values: none, errors, all
  63. bridge_status_notices: errors
  64. # How long after an unknown error should the bridge attempt a full reconnect?
  65. # Must be at least 1 minute. The bridge will add an extra ±20% jitter to this value.
  66. unknown_error_auto_reconnect: null
  67. # Should leaving Matrix rooms be bridged as leaving groups on the remote network?
  68. bridge_matrix_leave: false
  69. # Should room tags only be synced when creating the portal? Tags mean things like favorite/pin and archive/low priority.
  70. # Tags currently can't be synced back to the remote network, so a continuous sync means tagging from Matrix will be undone.
  71. tag_only_on_create: true
  72. # List of tags to allow bridging. If empty, no tags will be bridged.
  73. only_bridge_tags: [m.favourite, m.lowpriority]
  74. # Should room mute status only be synced when creating the portal?
  75. # Like tags, mutes can't currently be synced back to the remote network.
  76. mute_only_on_create: true
  77. # Should the bridge check the db to ensure that incoming events haven't been handled before
  78. deduplicate_matrix_messages: false
  79. # Should cross-room reply metadata be bridged?
  80. # Most Matrix clients don't support this and servers may reject such messages too.
  81. cross_room_replies: false
  82. # What should be done to portal rooms when a user logs out or is logged out?
  83. # Permitted values:
  84. # nothing - Do nothing, let the user stay in the portals
  85. # kick - Remove the user from the portal rooms, but don't delete them
  86. # unbridge - Remove all ghosts in the room and disassociate it from the remote chat
  87. # delete - Remove all ghosts and users from the room (i.e. delete it)
  88. cleanup_on_logout:
  89. # Should cleanup on logout be enabled at all?
  90. enabled: {{ matrix_steam_bridge_bridge_cleanup_on_logout_enabled | to_json }}
  91. # Settings for manual logouts (explicitly initiated by the Matrix user)
  92. manual:
  93. # Action for private portals which will never be shared with other Matrix users.
  94. private: {{ matrix_steam_bridge_bridge_cleanup_on_logout_manual_private | to_json }}
  95. # Action for portals with a relay user configured.
  96. relayed: {{ matrix_steam_bridge_bridge_cleanup_on_logout_manual_relayed | to_json }}
  97. # Action for portals which may be shared, but don't currently have any other Matrix users.
  98. shared_no_users: {{ matrix_steam_bridge_bridge_cleanup_on_logout_manual_shared_no_users | to_json }}
  99. # Action for portals which have other logged-in Matrix users.
  100. shared_has_users: {{ matrix_steam_bridge_bridge_cleanup_on_logout_manual_shared_has_users | to_json }}
  101. # Settings for credentials being invalidated (initiated by the remote network, possibly through user action).
  102. # Keys have the same meanings as in the manual section.
  103. bad_credentials:
  104. private: {{ matrix_steam_bridge_bridge_cleanup_on_logout_bad_credentials_private | to_json }}
  105. relayed: {{ matrix_steam_bridge_bridge_cleanup_on_logout_bad_credentials_relayed | to_json }}
  106. shared_no_users: {{ matrix_steam_bridge_bridge_cleanup_on_logout_bad_credentials_shared_no_users | to_json }}
  107. shared_has_users: {{ matrix_steam_bridge_bridge_cleanup_on_logout_bad_credentials_shared_has_users | to_json }}
  108. # Settings for relay mode
  109. relay:
  110. # Whether relay mode should be allowed. If allowed, the set-relay command can be used to turn any
  111. # authenticated user into a relaybot for that chat.
  112. enabled: false
  113. # Should only admins be allowed to set themselves as relay users?
  114. # If true, non-admins can only set users listed in default_relays as relays in a room.
  115. admin_only: true
  116. # List of user login IDs which anyone can set as a relay, as long as the relay user is in the room.
  117. default_relays: []
  118. # The formats to use when sending messages via the relaybot.
  119. # Available variables:
  120. # .Sender.UserID - The Matrix user ID of the sender.
  121. # .Sender.Displayname - The display name of the sender (if set).
  122. # .Sender.RequiresDisambiguation - Whether the sender's name may be confused with the name of another user in the room.
  123. # .Sender.DisambiguatedName - The disambiguated name of the sender. This will be the displayname if set,
  124. # plus the user ID in parentheses if the displayname is not unique.
  125. # If the displayname is not set, this is just the user ID.
  126. # .Message - The `formatted_body` field of the message.
  127. # .Caption - The `formatted_body` field of the message, if it's a caption. Otherwise an empty string.
  128. # .FileName - The name of the file being sent.
  129. message_formats:
  130. m.text: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}{% endraw %}"
  131. m.notice: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}{% endraw %}"
  132. m.emote: "{% raw %}* <b>{{ .Sender.DisambiguatedName }}</b> {{ .Message }}{% endraw %}"
  133. m.file: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b> sent a file{{ if .Caption }}: {{ .Caption }}{{ end }}{% endraw %}"
  134. m.image: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b> sent an image{{ if .Caption }}: {{ .Caption }}{{ end }}{% endraw %}"
  135. m.audio: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b> sent an audio file{{ if .Caption }}: {{ .Caption }}{{ end }}{% endraw %}"
  136. m.video: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b> sent a video{{ if .Caption }}: {{ .Caption }}{{ end }}{% endraw %}"
  137. m.location: "{% raw %}<b>{{ .Sender.DisambiguatedName }}</b> sent a location{{ if .Caption }}: {{ .Caption }}{{ end }}{% endraw %}"
  138. # For networks that support per-message displaynames (i.e. Slack and Discord), the template for those names.
  139. # This has all the Sender variables available under message_formats (but without the .Sender prefix).
  140. # Note that you need to manually remove the displayname from message_formats above.
  141. displayname_format: "{% raw %}{{ .DisambiguatedName }}{% endraw %}"
  142. # Permissions for using the bridge.
  143. # Permitted values:
  144. # relay - Talk through the relaybot (if enabled), no access otherwise
  145. # commands - Access to use commands in the bridge, but not login.
  146. # user - Access to use the bridge with puppeting.
  147. # admin - Full access, user level with some additional administration tools.
  148. # Permitted keys:
  149. # * - All Matrix users
  150. # domain - All users on that homeserver
  151. # mxid - Specific user
  152. permissions: {{ matrix_steam_bridge_bridge_permissions | to_json }}
  153. # Config for the bridge's database.
  154. database:
  155. # The database type. "sqlite3-fk-wal" and "postgres" are supported.
  156. type: postgres
  157. # The database URI.
  158. # SQLite: A raw file path is supported, but `file:<path>?_txlock=immediate` is recommended.
  159. # https://github.com/mattn/go-sqlite3#connection-string
  160. # Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable
  161. # To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql
  162. uri: {{ matrix_steam_bridge_database_uri | to_json }}
  163. # Maximum number of connections.
  164. max_open_conns: 5
  165. max_idle_conns: 2
  166. # Maximum connection idle time and lifetime before they're closed. Disabled if null.
  167. # Parsed with https://pkg.go.dev/time#ParseDuration
  168. max_conn_idle_time: null
  169. max_conn_lifetime: null
  170. # Homeserver details.
  171. homeserver:
  172. # The address that this appservice can use to connect to the homeserver.
  173. # Local addresses without HTTPS are generally recommended when the bridge is running on the same machine,
  174. # but https also works if they run on different machines.
  175. address: {{ matrix_steam_bridge_homeserver_address | to_json }}
  176. # The domain of the homeserver (also known as server_name, used for MXIDs, etc).
  177. domain: {{ matrix_steam_bridge_homeserver_domain | to_json }}
  178. # What software is the homeserver running?
  179. # Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here.
  180. software: standard
  181. # The URL to push real-time bridge status to.
  182. # If set, the bridge will make POST requests to this URL whenever a user's remote network connection state changes.
  183. # The bridge will use the appservice as_token to authorize requests.
  184. status_endpoint:
  185. # Endpoint for reporting per-message status.
  186. # If set, the bridge will make POST requests to this URL when processing a message from Matrix.
  187. # It will make one request when receiving the message (step BRIDGE), one after decrypting if applicable
  188. # (step DECRYPTED) and one after sending to the remote network (step REMOTE). Errors will also be reported.
  189. # The bridge will use the appservice as_token to authorize requests.
  190. message_send_checkpoint_endpoint:
  191. # Does the homeserver support https://github.com/matrix-org/matrix-spec-proposals/pull/2246?
  192. async_media: {{ matrix_steam_bridge_homeserver_async_media | to_json }}
  193. # Should the bridge use a websocket for connecting to the homeserver?
  194. # The server side is currently not documented anywhere and is only implemented by mautrix-wsproxy,
  195. # mautrix-asmux (deprecated), and hungryserv (proprietary).
  196. websocket: false
  197. # How often should the websocket be pinged? Pinging will be disabled if this is zero.
  198. ping_interval_seconds: 0
  199. # Application service host/registration related details.
  200. # Changing these values requires regeneration of the registration (except when noted otherwise)
  201. appservice:
  202. # The address that the homeserver can use to connect to this appservice.
  203. # Like the homeserver address, a local non-https address is recommended when the bridge is on the same machine.
  204. # If the bridge is elsewhere, you must secure the connection yourself (e.g. with https or wireguard)
  205. # If you want to use https, you need to use a reverse proxy. The bridge does not have TLS support built in.
  206. address: {{ matrix_steam_bridge_appservice_address | to_json }}
  207. # A public address that external services can use to reach this appservice.
  208. # This is only needed for things like public media. A reverse proxy is generally necessary when using this field.
  209. # This value doesn't affect the registration file.
  210. public_address: {{ matrix_steam_bridge_appservice_public_address | to_json }}
  211. # The hostname and port where this appservice should listen.
  212. # For Docker, you generally have to change the hostname to 0.0.0.0.
  213. hostname: 0.0.0.0
  214. port: {{ matrix_steam_bridge_appservice_port }}
  215. # The unique ID of this appservice.
  216. id: steam
  217. # Appservice bot details.
  218. bot:
  219. # Username of the appservice bot.
  220. username: {{ matrix_steam_bridge_appservice_bot_username | to_json }}
  221. # Display name and avatar for bot. Set to "remove" to remove display name/avatar, leave empty
  222. # to leave display name/avatar as-is.
  223. displayname: {{ matrix_steam_bridge_appservice_bot_displayname | to_json(ensure_ascii=False) }}
  224. avatar: {{ matrix_steam_bridge_appservice_bot_avatar | to_json }}
  225. # Whether to receive ephemeral events via appservice transactions.
  226. ephemeral_events: true
  227. # Should incoming events be handled asynchronously?
  228. # This may be necessary for large public instances with lots of messages going through.
  229. # However, messages will not be guaranteed to be bridged in the same order they were sent in.
  230. # This value doesn't affect the registration file.
  231. async_transactions: false
  232. # Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
  233. as_token: {{ matrix_steam_bridge_appservice_token | to_json }}
  234. hs_token: {{ matrix_steam_bridge_homeserver_token | to_json }}
  235. # Localpart template of MXIDs for remote users.
  236. # {% raw %}{{.}}{% endraw %} is replaced with the internal ID of the user.
  237. username_template: "{% raw %}steam_{{.}}{% endraw %}"
  238. # Config options that affect the Matrix connector of the bridge.
  239. matrix:
  240. # Whether the bridge should send the message status as a custom com.beeper.message_send_status event.
  241. message_status_events: false
  242. # Whether the bridge should send a read receipt after successfully bridging a message.
  243. delivery_receipts: false
  244. # Whether the bridge should send error notices via m.notice events when a message fails to bridge.
  245. message_error_notices: true
  246. # Whether the bridge should update the m.direct account data event when double puppeting is enabled.
  247. sync_direct_chat_list: true
  248. # Whether created rooms should have federation enabled. If false, created portal rooms
  249. # will never be federated. Changing this option requires recreating rooms.
  250. federate_rooms: {{ matrix_steam_bridge_matrix_federate_rooms | to_json }}
  251. # The threshold as bytes after which the bridge should roundtrip uploads via the disk
  252. # rather than keeping the whole file in memory.
  253. upload_file_threshold: 5242880
  254. # Segment-compatible analytics endpoint for tracking some events, like provisioning API login and encryption errors.
  255. analytics:
  256. # API key to send with tracking requests. Tracking is disabled if this is null.
  257. token: null
  258. # Address to send tracking requests to.
  259. url: https://api.segment.io/v1/track
  260. # Optional user ID for tracking events. If null, defaults to using Matrix user ID.
  261. user_id: null
  262. # Settings for provisioning API
  263. provisioning:
  264. # Prefix for the provisioning API paths.
  265. prefix: /_matrix/provision
  266. # Shared secret for authentication. If set to "generate" or null, a random secret will be generated,
  267. # or if set to "disable", the provisioning API will be disabled.
  268. shared_secret: {{ matrix_steam_bridge_provisioning_shared_secret | to_json }}
  269. # Whether to allow provisioning API requests to be authed using Matrix access tokens.
  270. # This follows the same rules as double puppeting to determine which server to contact to check the token,
  271. # which means that by default, it only works for users on the same server as the bridge.
  272. allow_matrix_auth: true
  273. # Enable debug API at /debug with provisioning authentication.
  274. debug_endpoints: false
  275. # Some networks require publicly accessible media download links (e.g. for user avatars when using Discord webhooks).
  276. # These settings control whether the bridge will provide such public media access.
  277. # TODO: Update with public_media config once it's figured out
  278. public_media:
  279. # Should public media be enabled at all?
  280. # The public_address field under the appservice section MUST be set when enabling public media.
  281. enabled: {{ matrix_steam_bridge_public_media_enabled | to_json }}
  282. # A key for signing public media URLs.
  283. # If set to "generate", a random key will be generated.
  284. signing_key: {{ matrix_steam_bridge_public_media_signing_key | to_json }}
  285. # Number of seconds that public media URLs are valid for.
  286. # If set to 0, URLs will never expire.
  287. expiry: {{ matrix_steam_bridge_public_media_expiry | to_json }}
  288. # Length of hash to use for public media URLs. Must be between 0 and 32.
  289. hash_length: {{ matrix_steam_bridge_public_media_hash_length | to_json }}
  290. # Settings for converting remote media to custom mxc:// URIs instead of reuploading.
  291. # More details can be found at https://docs.mau.fi/bridges/go/discord/direct-media.html
  292. direct_media:
  293. # Should custom mxc:// URIs be used instead of reuploading media?
  294. enabled: false
  295. # The server name to use for the custom mxc:// URIs.
  296. # This server name will effectively be a real Matrix server, it just won't implement anything other than media.
  297. # You must either set up .well-known delegation from this domain to the bridge, or proxy the domain directly to the bridge.
  298. server_name: media.example.com
  299. # Optionally a custom .well-known response. This defaults to `server_name:443`
  300. well_known_response:
  301. # Optionally specify a custom prefix for the media ID part of the MXC URI.
  302. media_id_prefix:
  303. # If the remote network supports media downloads over HTTP, then the bridge will use MSC3860/MSC3916
  304. # media download redirects if the requester supports it. Optionally, you can force redirects
  305. # and not allow proxying at all by setting this to false.
  306. # This option does nothing if the remote network does not support media downloads over HTTP.
  307. allow_proxy: true
  308. # Matrix server signing key to make the federation tester pass, same format as synapse's .signing.key file.
  309. # This key is also used to sign the mxc:// URIs to ensure only the bridge can generate them.
  310. server_key: ""
  311. # Settings for backfilling messages.
  312. # Note that the exact way settings are applied depends on the network connector.
  313. # See https://docs.mau.fi/bridges/general/backfill.html for more details.
  314. backfill:
  315. # Whether to do backfilling at all.
  316. enabled: {{ matrix_steam_bridge_backfill_enabled | to_json }}
  317. # Maximum number of messages to backfill in empty rooms.
  318. max_initial_messages: {{ matrix_steam_bridge_backfill_max_initial_messages | to_json }}
  319. # Maximum number of missed messages to backfill after bridge restarts.
  320. max_catchup_messages: {{ matrix_steam_bridge_backfill_max_catchup_messages | to_json }}
  321. # If a backfilled chat is older than this number of hours,
  322. # mark it as read even if it's unread on the remote network.
  323. unread_hours_threshold: 720
  324. # Settings for backfilling threads within other backfills.
  325. threads:
  326. # Maximum number of messages to backfill in a new thread.
  327. max_initial_messages: 50
  328. # Settings for the backwards backfill queue. This only applies when connecting to
  329. # Beeper as standard Matrix servers don't support inserting messages into history.
  330. queue:
  331. # Should the backfill queue be enabled?
  332. enabled: false
  333. # Number of messages to backfill in one batch.
  334. batch_size: 100
  335. # Delay between batches in seconds.
  336. batch_delay: 20
  337. # Maximum number of batches to backfill per portal.
  338. # If set to -1, all available messages will be backfilled.
  339. max_batches: -1
  340. # Optional network-specific overrides for max batches.
  341. # Interpretation of this field depends on the network connector.
  342. max_batches_override: {}
  343. # Settings for enabling double puppeting
  344. double_puppet:
  345. # Servers to always allow double puppeting from.
  346. # This is only for other servers and should NOT contain the server the bridge is on.
  347. servers: {}
  348. # Whether to allow client API URL discovery for other servers. When using this option,
  349. # users on other servers can use double puppeting even if their server URLs aren't
  350. # explicitly added to the servers map above.
  351. allow_discovery: false
  352. # Shared secrets for automatic double puppeting.
  353. # See https://docs.mau.fi/bridges/general/double-puppeting.html for instructions.
  354. secrets: {{ matrix_steam_bridge_double_puppet_secrets | to_json }}
  355. # End-to-bridge encryption support options.
  356. #
  357. # See https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html for more info.
  358. encryption:
  359. # Whether to enable encryption at all. If false, the bridge will not function in encrypted rooms.
  360. allow: {{ matrix_steam_bridge_bridge_encryption_allow | to_json }}
  361. # Whether to force-enable encryption in all bridged rooms.
  362. default: {{ matrix_steam_bridge_bridge_encryption_default | to_json }}
  363. # Whether to require all messages to be encrypted and drop any unencrypted messages.
  364. require: {{ matrix_steam_bridge_bridge_encryption_require | to_json }}
  365. # Whether to use MSC2409/MSC3202 instead of /sync long polling for receiving encryption-related data.
  366. # This option is not yet compatible with standard Matrix servers like Synapse and should not be used.
  367. appservice: {{ matrix_steam_bridge_bridge_encryption_appservice | to_json }}
  368. # Whether to use MSC4190 instead of appservice login to create the bridge bot device.
  369. # Requires the homeserver to support MSC4190 and the device masquerading parts of MSC3202.
  370. # Only relevant when using end-to-bridge encryption, required when using encryption with next-gen auth (MSC3861).
  371. # Changing this option requires updating the appservice registration file.
  372. msc4190: {{ matrix_steam_bridge_msc4190_enabled | to_json }}
  373. # Whether to enable self-signing for bridges (Only the bridge bot uses this for now)
  374. # Requires msc4190 to replace keys on reset
  375. self_sign: {{ matrix_steam_bridge_self_sign_enabled | to_json }}
  376. # Enable key sharing? If enabled, key requests for rooms where users are in will be fulfilled.
  377. # You must use a client that supports requesting keys from other users to use this feature.
  378. allow_key_sharing: {{ matrix_steam_bridge_bridge_encryption_key_sharing_allow | to_json }}
  379. # Pickle key for encrypting encryption keys in the bridge database.
  380. # If set to generate, a random key will be generated.
  381. pickle_key: {{ matrix_steam_bridge_bridge_encryption_pickle_key | to_json }}
  382. # Options for deleting megolm sessions from the bridge.
  383. delete_keys:
  384. # Beeper-specific: delete outbound sessions when hungryserv confirms
  385. # that the user has uploaded the key to key backup.
  386. delete_outbound_on_ack: false
  387. # Don't store outbound sessions in the inbound table.
  388. dont_store_outbound: false
  389. # Ratchet megolm sessions forward after decrypting messages.
  390. ratchet_on_decrypt: false
  391. # Delete fully used keys (index >= max_messages) after decrypting messages.
  392. delete_fully_used_on_decrypt: false
  393. # Delete previous megolm sessions from same device when receiving a new one.
  394. delete_prev_on_new_session: false
  395. # Delete megolm sessions received from a device when the device is deleted.
  396. delete_on_device_delete: false
  397. # Periodically delete megolm sessions when 2x max_age has passed since receiving the session.
  398. periodically_delete_expired: false
  399. # Delete inbound megolm sessions that don't have the received_at field used for
  400. # automatic ratcheting and expired session deletion. This is meant as a migration
  401. # to delete old keys prior to the bridge update.
  402. delete_outdated_inbound: false
  403. # What level of device verification should be required from users?
  404. #
  405. # Valid levels:
  406. # unverified - Send keys to all device in the room.
  407. # cross-signed-untrusted - Require valid cross-signing, but trust all cross-signing keys.
  408. # cross-signed-tofu - Require valid cross-signing, trust cross-signing keys on first use (and reject changes).
  409. # cross-signed-verified - Require valid cross-signing, plus a valid user signature from the bridge bot.
  410. # Note that creating user signatures from the bridge bot is not currently possible.
  411. # verified - Require manual per-device verification
  412. # (currently only possible by modifying the `trust` column in the `crypto_device` database table).
  413. verification_levels:
  414. # Minimum level for which the bridge should send keys to when bridging messages from the remote network to Matrix.
  415. receive: unverified
  416. # Minimum level that the bridge should accept for incoming Matrix messages.
  417. send: unverified
  418. # Minimum level that the bridge should require for accepting key requests.
  419. share: cross-signed-tofu
  420. # Options for Megolm room key rotation. These options allow you to configure the m.room.encryption event content.
  421. # See https://spec.matrix.org/v1.10/client-server-api/#mroomencryption for more information about that event.
  422. rotation:
  423. # Enable custom Megolm room key rotation settings. Note that these
  424. # settings will only apply to rooms created after this option is set.
  425. enable_custom: false
  426. # The maximum number of milliseconds a session should be used
  427. # before changing it. The Matrix spec recommends 604800000 (a week)
  428. # as the default.
  429. milliseconds: 604800000
  430. # The maximum number of messages that should be sent with a given a
  431. # session before changing it. The Matrix spec recommends 100 as the
  432. # default.
  433. messages: 100
  434. # Disable rotating keys when a user's devices change?
  435. # You should not enable this option unless you understand all the implications.
  436. disable_device_change_key_rotation: false
  437. # Logging config. See https://github.com/tulir/zeroconfig for details.
  438. logging:
  439. min_level: {{ matrix_steam_bridge_logging_level | to_json }}
  440. writers:
  441. - type: stdout
  442. format: pretty-colored