1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-18 05:42:00 +03:00

Emit events for read receipts

This commit is contained in:
David Baker
2015-11-03 11:43:52 +00:00
parent c6aac8cbd9
commit 142ee81e66
2 changed files with 16 additions and 1 deletions

View File

@@ -2466,7 +2466,7 @@ function createNewUser(client, userId) {
function createNewRoom(client, roomId) {
var room = new Room(roomId);
reEmit(client, room, ["Room.name", "Room.timeline"]);
reEmit(client, room, ["Room.name", "Room.timeline", "Room.receipt"]);
// we need to also re-emit room state and room member events, so hook it up
// to the client now. We need to add a listener for RoomState.members in