diff --git a/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go b/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go index c2fdd8f03..94d1ad243 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go +++ b/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go @@ -79,6 +79,9 @@ func (n *Notifier) OnNewEvent(ev *gomatrixserverlib.Event, userID string, pos ty case "invite": userIDs = append(userIDs, userID) case "join": + // We have to manually append the new user's ID so they get + // notified along all members in the room + userIDs = append(userIDs, userID) n.addJoinedUser(ev.RoomID(), userID) case "leave": fallthrough