From 7183095a28661fc113887a034ae1ff13eb06d0c6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 16 Apr 2020 22:16:25 +0200 Subject: Implement User Avatar spoofing of XMPP users (#1090) * Implement User Avatar spoofing of XMPP users --- gateway/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gateway') 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: -- cgit v1.2.3