From 073bec48308faa404d3a66779aedb6c61447be58 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 29 Aug 2014 13:45:15 +0100 Subject: [PATCH] Oops, forgot a s/sendObject/sendEvent/ - make messages work again! --- webclient/components/matrix/matrix-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js index 06f920b15..8543491dc 100644 --- a/webclient/components/matrix/matrix-service.js +++ b/webclient/components/matrix/matrix-service.js @@ -191,7 +191,7 @@ angular.module('matrixService', []) }, sendMessage: function(room_id, txn_id, content) { - return self.sendObject(room_id, 'm.room.message', txn_id, content); + return this.sendEvent(room_id, 'm.room.message', txn_id, content); }, // Send a text message