Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
9bf26dd6
Commit
9bf26dd6
authored
8 years ago
by
Gabriel Engel
Browse files
Options
Downloads
Plain Diff
Merge pull request #2711 from RocketChat/fix-2371
Removed condition that hides "User left message" in channels
parents
9221aa36
bcc8ec00
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/methods/leaveRoom.coffee
+1
-2
1 addition, 2 deletions
server/methods/leaveRoom.coffee
with
1 addition
and
2 deletions
server/methods/leaveRoom.coffee
+
1
−
2
View file @
9bf26dd6
...
...
@@ -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'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment