Skip to content
Snippets Groups Projects
Commit a7fa2f01 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Prevent client to emit to stream 'all'

parent 139b2e10
No related merge requests found
......@@ -9,7 +9,7 @@ RocketChat.Notifications = new class
@streamUser = new Meteor.Stream 'notify-user'
@streamAll.permissions.write -> return @userId?
@streamAll.permissions.write -> return false
@streamAll.permissions.read -> return @userId?
@streamRoom.permissions.write -> return @userId?
......
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