Skip to content

Commit 9cc6af9

Browse files
committed
Make it more clear that this is an additional use case
1 parent 9547994 commit 9cc6af9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ func SyncPresenceHas(fromUser string, expectedPresence *string, checks ...func(g
272272
// syncMembershipIn checks that `userID` has `membership` in `roomID`, with optional
273273
// extra checks on the found membership event.
274274
//
275-
// This can be used to passively observe another user's membership changes in a room
276-
// although we assume that the observing client is joined to the room.
275+
// This can be also used to passively observe another user's membership changes in a
276+
// room although we assume that the observing client is joined to the room.
277277
//
278278
// Note: This will not work properly with leave/ban membership for initial syncs, see
279279
// https://github.com/matrix-org/matrix-doc/issues/3537

0 commit comments

Comments
 (0)