diff --git a/src/matrixroomhandler.ts b/src/matrixroomhandler.ts index c9fe11f3980fb7a71099fe72686c99f6c3d24f2c..5c8f9d1f78b95b1849903d839626e0bda9d74335 100644 --- a/src/matrixroomhandler.ts +++ b/src/matrixroomhandler.ts @@ -250,7 +250,7 @@ export class MatrixRoomHandler { } catch (err) { log.error("MatrixRoomHandler", "Error while unbridging room " + event.room_id); log.error("MatrixRoomHandler", err); - return this.bridge.getItent().sendMessage(event.room_id, { + return this.bridge.getIntent().sendMessage(event.room_id, { msgtype: "m.notice", body: "There was an error unbridging this room. " + "Please try again later or contact the bridge operator.",