1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Merge pull request #80 from matrix-org/rav/keep_redactions

Keep redacted events in the timeline
This commit is contained in:
Richard van der Hoff
2016-02-17 21:41:42 +00:00
3 changed files with 132 additions and 27 deletions

View File

@@ -83,7 +83,8 @@ SyncApi.prototype.createRoom = function(roomId) {
pendingEventOrdering: this.opts.pendingEventOrdering,
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);
return room;
};