We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca523c3 + e8a2b69 commit 0895dc1Copy full SHA for 0895dc1
pkg/signaling/client.go
@@ -43,9 +43,9 @@ func (m *MatrixClient) RunSyncing(callback func(*event.Event)) {
43
44
syncer.ParseEventContent = true
45
syncer.OnEvent(func(_ mautrix.EventSource, evt *event.Event) {
46
- // We only care about to-device events.
+ // We only care about to-device events but also receive m.presence and
47
+ // m.push_rules events; we can simply ignore those.
48
if evt.Type.Class != event.ToDeviceEventType {
- logrus.Warn("ignoring a not to-device event")
49
return
50
}
51
0 commit comments