Oops, forgot a s/sendObject/sendEvent/ - make messages work again!
This commit is contained in:
parent
cc413be446
commit
073bec4830
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue