diff --git a/index.js b/index.js index 74c327e..ad7ba61 100644 --- a/index.js +++ b/index.js @@ -37,6 +37,7 @@ async function logoutUser(matrixId) { } async function bridgeRoom(sender, matrixRoom, remoteRoom) { await bridge.getRoomStore().linkRooms(matrixRoom, remoteRoom); + tmiListener.join(remoteRoom.roomId); console.log('Linked rooms', matrixRoom.roomId, 'and', remoteRoom.roomId, 'by', sender); } async function unbridgeRoom(sender, roomId) {