join channels on bridge request

master
lub 4 years ago
parent 945ebd690c
commit 0e29262b73

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

Loading…
Cancel
Save