Add option to not set room meta in encrypted rooms

This commit is contained in:
Tulir Asokan
2023-04-14 13:39:22 +03:00
parent dad71dd6c5
commit 35d0c209f2
4 changed files with 54 additions and 36 deletions

View File

@@ -97,9 +97,11 @@ bridge:
# Available variables:
# .Name - Guild name
guild_name_template: '{{.Name}}'
# Should the bridge explicitly set the avatar and room name for DM portal rooms?
# This is implicitly enabled in encrypted rooms.
private_chat_portal_meta: false
# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set.
# If set to `never`, DM rooms will never have names and avatars set.
private_chat_portal_meta: default
portal_message_buffer: 128