Oops, forgot a s/sendObject/sendEvent/ - make messages work again!

This commit is contained in:
David Baker 2014-08-29 13:45:15 +01:00
parent cc413be446
commit 073bec4830
1 changed files with 1 additions and 1 deletions

View File

@ -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