diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-07 10:10:28 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-07 10:10:28 +0100 |
commit | 99ef5472959a4e4d49bd9760fcb8b3872e21fa71 (patch) | |
tree | ac559cfc355cd8f61ad1f82f8ba2850097951265 /federationapi | |
parent | 99f2007eb6ad75ce8e19b3c3088f552034a1644d (diff) |
Simplify presence stringification (should help with vector-im/element-android#5712)
Diffstat (limited to 'federationapi')
-rw-r--r-- | federationapi/routing/send.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index 1bba632b..c3351388 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -413,7 +413,6 @@ func (t *txnReq) processPresence(ctx context.Context, e gomatrixserverlib.EDU) e for _, content := range payload.Push { presence, ok := syncTypes.PresenceFromString(content.Presence) if !ok { - logrus.Warnf("invalid presence '%s', skipping.", content.Presence) continue } if err := t.producer.SendPresence(ctx, content.UserID, presence, content.StatusMsg, content.LastActiveAgo); err != nil { |