From 3aa31d83bba91ee5420e528a5e210c3b4e0a4f17 Mon Sep 17 00:00:00 2001 From: Dante Date: Wed, 28 Sep 2022 19:23:50 +0100 Subject: [PATCH] Add new config options from v0.12.1 --- conf/config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/config.yaml b/conf/config.yaml index 15048a3..b8ce7c8 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -7,7 +7,9 @@ homeserver: # Whether or not to verify the SSL certificate of the homeserver. # Only applies if address starts with https:// verify_ssl: true - asmux: false + # What software is the homeserver running? + # Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here. + software: standard # Number of retries for all HTTP requests if the homeserver isn't reachable. http_retry_count: 4 # The URL to push real-time bridge status to. @@ -45,6 +47,7 @@ appservice: # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool # https://docs.python.org/3/library/sqlite3.html#sqlite3.connect # For sqlite, min_size is used as the connection thread pool size and max_size is ignored. + # Additionally, SQLite supports init_commands as an array of SQL queries to run on connect (e.g. to set PRAGMAs). database_opts: {} # Public part of web server for out-of-Matrix interaction with the bridge. @@ -253,6 +256,8 @@ bridge: # Default to encryption, force-enable encryption in all portals the bridge creates # This will cause the bridge bot to be in private chats for the encryption to work properly. default: __IS_ENCRYPTION_ENABLED__ + # Whether to use MSC2409/MSC3202 instead of /sync long polling for receiving encryption-related data. + appservice: false # Require encryption, drop any unencrypted messages. require: __IS_ENCRYPTION_ENABLED__ # Enable key sharing? If enabled, key requests for rooms where users are in will be fulfilled.