diff --git a/src/rocketchat_driver.coffee b/src/rocketchat_driver.coffee index 0d4a792d6..fbe48cc86 100644 --- a/src/rocketchat_driver.coffee +++ b/src/rocketchat_driver.coffee @@ -33,6 +33,9 @@ class RocketChatDriver @asteroid.on 'connected', -> cb() + @asteroid.on 'reconnected', -> + cb() + getRoomId: (room) => @tryCache _roomIdCache, 'getRoomIdByNameOrId', room, 'Room ID'