Browse Source

join channels on bridge request

master
lub 3 years ago
parent
commit
0e29262b73
  1. 1
      index.js

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

Loading…
Cancel
Save