Skip to content
Snippets Groups Projects
Commit a604db39 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fix: notify users when someone talks in channel

parent ac71b08b
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ RocketChat.sendMessage = (user, message, room) -> ...@@ -102,7 +102,7 @@ RocketChat.sendMessage = (user, message, room) ->
# only subscriptions to the same room # only subscriptions to the same room
rid: message.rid rid: message.rid
# only the ones that have not been alerted yet # only the ones that have not been alerted yet
alert: false alert: { $ne: true }
# not the msg owner # not the msg owner
'u._id': 'u._id':
$ne: message.u._id $ne: message.u._id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment