Add private_chat_portal_meta option and fix bugs

* The new option is implicitly enabled when encryption is default
* Private chat metadata is now updated after creating the room too
* The puppet metadata is updated before creating the room, to make sure their
  name is available locally
This commit is contained in:
Tulir Asokan
2020-05-20 21:19:42 +03:00
parent 4d8d332732
commit 40beb8f752
5 changed files with 34 additions and 17 deletions
+3
View File
@@ -207,6 +207,9 @@ 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: false
# Whether or not to explicitly set the avatar and room name for private
# chat portal rooms. This will be implicitly enabled if encryption.default is true.
private_chat_portal_meta: false
# Overrides for base power levels.
initial_power_level_overrides: