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.
 
 

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