adjust to js-sdk changes of marking original event as replaced
This commit is contained in:
parent
edc100163f
commit
5805a88ab9
8 changed files with 11 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue