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
c89110df
Commit
c89110df
authored
9 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
Show "Room not Found" correctly
parent
a05c2b51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/rocketchat-ui/lib/RoomManager.coffee
+5
-2
5 additions, 2 deletions
packages/rocketchat-ui/lib/RoomManager.coffee
with
5 additions
and
2 deletions
packages/rocketchat-ui/lib/RoomManager.coffee
+
5
−
2
View file @
c89110df
...
...
@@ -67,7 +67,8 @@ RocketChat.Notifications.onUser 'message', (msg) ->
openedRooms
[
typeName
].
ready
=
false
openedRooms
[
typeName
].
active
=
false
Blaze
.
remove
openedRooms
[
typeName
].
template
if
openedRooms
[
typeName
].
template
?
Blaze
.
remove
openedRooms
[
typeName
].
template
delete
openedRooms
[
typeName
].
dom
delete
openedRooms
[
typeName
].
template
...
...
@@ -104,7 +105,9 @@ RocketChat.Notifications.onUser 'message', (msg) ->
room
=
ChatRoom
.
findOne
query
,
{
reactive
:
false
}
if
room
?
if
not
room
?
record
.
ready
=
true
else
openedRooms
[
typeName
].
rid
=
room
.
_id
RoomHistoryManager
.
getMoreIfIsEmpty
room
.
_id
...
...
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