summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-02-09 21:07:26 +0000
committerGitHub <noreply@github.com>2020-02-09 22:07:26 +0100
commitc91bfd08d855d07eccf5319e8881c816edf598ea (patch)
tree886c0d59e048135ccb98290df6af874ab10a41c9 /bridge/config/config.go
parent49110a58729fcbecaffcb0202f9a9474d98c9cde (diff)
downloadmatterbridge-msglm-c91bfd08d855d07eccf5319e8881c816edf598ea.tar.gz
matterbridge-msglm-c91bfd08d855d07eccf5319e8881c816edf598ea.tar.bz2
matterbridge-msglm-c91bfd08d855d07eccf5319e8881c816edf598ea.zip
Add ability to procure avatars from the destination bridge (#1000)
* remote_avatar: add UseLocalAvatar * remote_avatar: make sure msg.Protocol is always set correctly * remote_avatars: support msg.Account * remote_avatar: add to matterbridge.toml.sample * remote_avatar: clarify something
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 84e8f75f..2d20c11f 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -138,6 +138,7 @@ type Protocol struct {
Topic string // zulip
URL string // mattermost, slack // DEPRECATED
UseAPI bool // mattermost, slack
+ UseLocalAvatar []string // discord
UseSASL bool // IRC
UseTLS bool // IRC
UseDiscriminator bool // discord