From 186c19f44f0408fbb304b27e4c28d81c8b23e768 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Tue, 22 Aug 2017 14:08:50 +0100 Subject: [PATCH] Rephrase comment --- src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 94d1ad243..2fa4279c1 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go +++ b/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go @@ -79,8 +79,8 @@ 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 + // 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":