mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Rephrase comment
This commit is contained in:
parent
592357c42d
commit
186c19f44f
|
|
@ -79,8 +79,8 @@ func (n *Notifier) OnNewEvent(ev *gomatrixserverlib.Event, userID string, pos ty
|
||||||
case "invite":
|
case "invite":
|
||||||
userIDs = append(userIDs, userID)
|
userIDs = append(userIDs, userID)
|
||||||
case "join":
|
case "join":
|
||||||
// We have to manually append the new user's ID so they get
|
// Manually append the new user's ID so they get notified
|
||||||
// notified along all members in the room
|
// along all members in the room
|
||||||
userIDs = append(userIDs, userID)
|
userIDs = append(userIDs, userID)
|
||||||
n.addJoinedUser(ev.RoomID(), userID)
|
n.addJoinedUser(ev.RoomID(), userID)
|
||||||
case "leave":
|
case "leave":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue