1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Remember to propagate Room.redaction

This commit is contained in:
Richard van der Hoff
2016-02-16 16:03:40 +00:00
parent 4c6d0a5128
commit 6f3bdcfbb6

View File

@@ -81,7 +81,8 @@ SyncApi.prototype.createRoom = function(roomId) {
pendingEventOrdering: this.opts.pendingEventOrdering, pendingEventOrdering: this.opts.pendingEventOrdering,
timelineSupport: client.timelineSupport, timelineSupport: client.timelineSupport,
}); });
reEmit(client, room, ["Room.name", "Room.timeline", "Room.receipt", "Room.tags"]); reEmit(client, room, ["Room.name", "Room.timeline", "Room.redaction",
"Room.receipt", "Room.tags"]);
this._registerStateListeners(room); this._registerStateListeners(room);
return room; return room;
}; };