Skip to content

Commit b3e12a3

Browse files
Calls enter-room callback after entering the room
1 parent 70f5f79 commit b3e12a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/routes/roomRoute.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ openRoom = (type, name) ->
6161
if ChatSubscription.findOne({rid: room._id})?.open is false
6262
Meteor.call 'openRoom', room._id
6363

64+
RocketChat.callbacks.run 'enter-room'
65+
6466
roomExit = ->
6567
BlazeLayout.render 'main', {center: 'none'}
6668

0 commit comments

Comments
 (0)