You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Emit an event when a local-echo is turned into a proper event
We need to trigger an update of the timeline when this happens, so raise an event for it.
This commit is contained in:
@@ -86,7 +86,9 @@ SyncApi.prototype.createRoom = function(roomId) {
|
||||
});
|
||||
reEmit(client, room, ["Room.name", "Room.timeline", "Room.redaction",
|
||||
"Room.receipt", "Room.tags",
|
||||
"Room.timelineReset"]);
|
||||
"Room.timelineReset",
|
||||
"Room.localEchoUpdated",
|
||||
]);
|
||||
this._registerStateListeners(room);
|
||||
return room;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user