mirror of
https://github.com/element-hq/synapse
synced 2024-09-14 20:55:11 +00:00
Oops, forgot a s/sendObject/sendEvent/ - make messages work again!
This commit is contained in:
parent
cc413be446
commit
073bec4830
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ angular.module('matrixService', [])
|
||||||
},
|
},
|
||||||
|
|
||||||
sendMessage: function(room_id, txn_id, content) {
|
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
|
// Send a text message
|
||||||
|
|
Loading…
Reference in a new issue