You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
adjust to js-sdk changes of marking original event as replaced
This commit is contained in:
@ -507,7 +507,7 @@ const TimelinePanel = React.createClass({
|
||||
this.forceUpdate();
|
||||
},
|
||||
|
||||
onRoomReplaceEvent: function(replacedEvent, newEvent, room) {
|
||||
onRoomReplaceEvent: function(replacedEvent, room) {
|
||||
if (this.unmounted) return;
|
||||
|
||||
// ignore events for other rooms
|
||||
@ -515,7 +515,7 @@ const TimelinePanel = React.createClass({
|
||||
|
||||
// we could skip an update if the event isn't in our timeline,
|
||||
// but that's probably an early optimisation.
|
||||
this._reloadEvents();
|
||||
this.forceUpdate();
|
||||
},
|
||||
|
||||
onRoomReceipt: function(ev, room) {
|
||||
|
Reference in New Issue
Block a user