Skip to content
Snippets Groups Projects
Commit e50fd508 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

only prints leave room message if it isn't a channel

parent e4ffc361
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ Meteor.methods ...@@ -34,7 +34,7 @@ Meteor.methods
, ,
multi: true multi: true
if room.uids.indexOf(Meteor.userId()) isnt -1 if room.t isnt 'c' and room.uids.indexOf(Meteor.userId()) isnt -1
removedUser = Meteor.users.findOne Meteor.userId() removedUser = Meteor.users.findOne Meteor.userId()
ChatMessage.insert ChatMessage.insert
......
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