summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--webclient/components/matrix/matrix-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index 06f920b15d..8543491dca 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