From 7f9c7d5126e7bdabf2f546e53b77dbb71cb1b9d9 Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Thu, 17 May 2018 11:17:37 +0100
Subject: [PATCH] Add tests for ProcessCommand and OnAliasQuery

---
 src/matrixroomhandler.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/matrixroomhandler.ts b/src/matrixroomhandler.ts
index c9fe11f..5c8f9d1 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.",
-- 
GitLab