-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boxes/model: Order mentions typeahead by subscribers for stream msgs.
Update recipient_user_ids in WriteBox for stream messages which is used to order mentions typeahead. The logic for doing this ordering has already been implemented in WriteBox.autocomplete_mentions(). stream_id is passed to WriteBox instead of using stream names to look-up subscriber data to avoid bugs due to duplicate stream names.
- Loading branch information
1 parent
19053c2
commit ae1c02a
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters