diff options
author | David Baker <dbkr@matrix.org> | 2014-08-29 13:45:15 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-08-29 13:45:15 +0100 |
commit | 073bec48308faa404d3a66779aedb6c61447be58 (patch) | |
tree | 4a9a5ff94bee34b5853f8e939067e669efeeb505 /webclient | |
parent | Don't break if the call ends before it connects (diff) | |
download | synapse-073bec48308faa404d3a66779aedb6c61447be58.tar.xz |
Oops, forgot a s/sendObject/sendEvent/ - make messages work again!
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/components/matrix/matrix-service.js | 2 |
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 |