summaryrefslogtreecommitdiffstats
path: root/gateway
diff options
context:
space:
mode:
authorAlexander <papatutuwawa@polynom.me>2020-04-16 22:16:25 +0200
committerGitHub <noreply@github.com>2020-04-16 22:16:25 +0200
commit7183095a28661fc113887a034ae1ff13eb06d0c6 (patch)
tree227b06e79e2de48989eeffe1fad408a630430355 /gateway
parent13c90893c7d3b757eb77541c5ec44489fde5661e (diff)
downloadmatterbridge-msglm-7183095a28661fc113887a034ae1ff13eb06d0c6.tar.gz
matterbridge-msglm-7183095a28661fc113887a034ae1ff13eb06d0c6.tar.bz2
matterbridge-msglm-7183095a28661fc113887a034ae1ff13eb06d0c6.zip
Implement User Avatar spoofing of XMPP users (#1090)
* Implement User Avatar spoofing of XMPP users
Diffstat (limited to 'gateway')
-rw-r--r--gateway/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/handlers.go b/gateway/handlers.go
index 26d3f189..edc2bf44 100644
--- a/gateway/handlers.go
+++ b/gateway/handlers.go
@@ -169,7 +169,7 @@ func (gw *Gateway) ignoreEvent(event string, dest *bridge.Bridge) bool {
switch event {
case config.EventAvatarDownload:
// Avatar downloads are only relevant for telegram and mattermost for now
- if dest.Protocol != "mattermost" && dest.Protocol != "telegram" {
+ if dest.Protocol != "mattermost" && dest.Protocol != "telegram" && dest.Protocol != "xmpp" {
return true
}
case config.EventJoinLeave: