summary refs log tree commit diff
path: root/webclient/components
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-08-29 13:45:15 +0100
committerDavid Baker <dbkr@matrix.org>2014-08-29 13:45:15 +0100
commit073bec48308faa404d3a66779aedb6c61447be58 (patch)
tree4a9a5ff94bee34b5853f8e939067e669efeeb505 /webclient/components
parentDon't break if the call ends before it connects (diff)
downloadsynapse-073bec48308faa404d3a66779aedb6c61447be58.tar.xz
Oops, forgot a s/sendObject/sendEvent/ - make messages work again!
Diffstat (limited to 'webclient/components')
-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