|
@@ -69,6 +69,7 @@ type BridgeConfig struct {
|
|
|
|
|
|
InviteOwnPuppetForBackfilling bool `yaml:"invite_own_puppet_for_backfilling"`
|
|
InviteOwnPuppetForBackfilling bool `yaml:"invite_own_puppet_for_backfilling"`
|
|
PrivateChatPortalMeta bool `yaml:"private_chat_portal_meta"`
|
|
PrivateChatPortalMeta bool `yaml:"private_chat_portal_meta"`
|
|
|
|
+ BridgeNotices bool `yaml:"bridge_notices"`
|
|
ResendBridgeInfo bool `yaml:"resend_bridge_info"`
|
|
ResendBridgeInfo bool `yaml:"resend_bridge_info"`
|
|
|
|
|
|
WhatsappThumbnail bool `yaml:"whatsapp_thumbnail"`
|
|
WhatsappThumbnail bool `yaml:"whatsapp_thumbnail"`
|
|
@@ -129,6 +130,7 @@ func (bc *BridgeConfig) setDefaults() {
|
|
|
|
|
|
bc.InviteOwnPuppetForBackfilling = true
|
|
bc.InviteOwnPuppetForBackfilling = true
|
|
bc.PrivateChatPortalMeta = false
|
|
bc.PrivateChatPortalMeta = false
|
|
|
|
+ bc.BridgeNotices = true
|
|
}
|
|
}
|
|
|
|
|
|
type umBridgeConfig BridgeConfig
|
|
type umBridgeConfig BridgeConfig
|