Add support for text embeds
This commit is contained in:
@@ -42,6 +42,7 @@ type BridgeConfig struct {
|
||||
MessageErrorNotices bool `yaml:"message_error_notices"`
|
||||
RestrictedRooms bool `yaml:"restricted_rooms"`
|
||||
AutojoinThreadOnOpen bool `yaml:"autojoin_thread_on_open"`
|
||||
EmbedFieldsAsTables bool `yaml:"embed_fields_as_tables"`
|
||||
MuteChannelsOnCreate bool `yaml:"mute_channels_on_create"`
|
||||
SyncDirectChatList bool `yaml:"sync_direct_chat_list"`
|
||||
ResendBridgeInfo bool `yaml:"resend_bridge_info"`
|
||||
|
||||
@@ -37,6 +37,7 @@ func DoUpgrade(helper *up.Helper) {
|
||||
helper.Copy(up.Bool, "bridge", "message_error_notices")
|
||||
helper.Copy(up.Bool, "bridge", "restricted_rooms")
|
||||
helper.Copy(up.Bool, "bridge", "autojoin_thread_on_open")
|
||||
helper.Copy(up.Bool, "bridge", "embed_fields_as_tables")
|
||||
helper.Copy(up.Bool, "bridge", "mute_channels_on_create")
|
||||
helper.Copy(up.Bool, "bridge", "sync_direct_chat_list")
|
||||
helper.Copy(up.Bool, "bridge", "resend_bridge_info")
|
||||
|
||||
Reference in New Issue
Block a user