commit 5ed5770a4f1844161d8abe6551b20bec195c3872
Author: Polynomdivision <papatutuwawa@polynom.me>
Date: Sat Oct 30 15:50:37 2021 +0000
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go
index 687ca07..cf58a2f 100644
--- a/bridge/xmpp/xmpp.go
+++ b/bridge/xmpp/xmpp.go
@@ -2837 +28313 @@ 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) {