diff --git a/syncapi/sync/notifier.go b/syncapi/sync/notifier.go index 48527555b..0bc90dbae 100644 --- a/syncapi/sync/notifier.go +++ b/syncapi/sync/notifier.go @@ -104,6 +104,8 @@ func (n *Notifier) OnNewEvent(ev *gomatrixserverlib.Event, roomID string, userID n.wakeupUsers(n.joinedUsers(roomID), pos) } else if len(userIDs) > 0 { n.wakeupUsers(userIDs, pos) + } else { + log.Warn("WARNING: Notifier.OnNewEvent called but caller supplied no user to wake up") } }