Skip to content
Snippets Groups Projects
Commit 9bf26dd6 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge pull request #2711 from RocketChat/fix-2371

Removed condition that hides "User left message" in channels
parents 9221aa36 bcc8ec00
No related merge requests found
......@@ -13,9 +13,8 @@ Meteor.methods
RocketChat.models.Rooms.removeUsernameById rid, user.username
if room.t isnt 'c' and room.usernames.indexOf(user.username) isnt -1
if room.usernames.indexOf(user.username) isnt -1
removedUser = user
RocketChat.models.Messages.createUserLeaveWithRoomIdAndUser rid, removedUser
if room.t is 'l'
......
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