@ -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) {