diff options
Diffstat (limited to 'bridge/xmpp')
-rw-r--r-- | bridge/xmpp/xmpp.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 687ca071..cf58a2fc 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -283,7 +283,13 @@ func (b *Bxmpp) handleXMPP() error { for { m, err := b.xc.Recv() if err != nil { - return err + // An error together with AvatarData is non-fatal + switch m.(type) { + case xmpp.AvatarData: + continue + default: + return err + } } switch v := m.(type) { |