1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

emit Room.redactionCancelled event when undoing redaction local echo

This commit is contained in:
Bruno Windels
2019-06-04 18:45:13 +02:00
parent c0c9f0122c
commit 58f163ed5c
2 changed files with 15 additions and 2 deletions

View File

@@ -127,7 +127,9 @@ SyncApi.prototype.createRoom = function(roomId) {
timelineSupport,
unstableClientRelationAggregation,
});
client.reEmitter.reEmit(room, ["Room.name", "Room.timeline", "Room.redaction",
client.reEmitter.reEmit(room, ["Room.name", "Room.timeline",
"Room.redaction",
"Room.redactionCancelled",
"Room.receipt", "Room.tags",
"Room.timelineReset",
"Room.localEchoUpdated",