Skip to content

Commit

Permalink
fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Feb 20, 2023
1 parent c6edde5 commit 5811d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,7 @@ func (t *Topic) replyGetSub(sess *Session, asUid types.Uid, authLevel auth.Level
// User manages cache. Include deleted subscriptions too.
subs, err = store.Users.GetTopicsAny(asUid, msgOpts2storeOpts(req))

// Returned subscriptions does not load topics which are online now but otherwise unchanged.
// Returned subscriptions do not contain topics which are online now but otherwise unchanged.
// We need to add these topic to the list otherwise the user would see them as offline.
selected := map[string]struct{}{}
for i := range subs {
Expand Down

0 comments on commit 5811d12

Please sign in to comment.