Skip to content

Commit

Permalink
Fixes highlight notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloschmidt committed Mar 31, 2016
1 parent 9bab231 commit 673c6a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rocketchat-lib/server/models/Users.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ RocketChat.models.Users = new class extends RocketChat.models._Base

return @find query, options

findUsersByUsernamesWithHighlights: (username, options) ->
findUsersByUsernamesWithHighlights: (usernames, options) ->
query =
username: username
username: { $in: usernames }
'settings.preferences.highlights':
$exists: true

Expand Down

0 comments on commit 673c6a8

Please sign in to comment.