You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
remove unnecessary getUnfilteredTimelineSet()
This commit is contained in:
@@ -618,9 +618,7 @@ Room.prototype.addPendingEvent = function(event, txnId) {
|
||||
// on the unfiltered timelineSet.
|
||||
EventTimeline.setEventMetadata(
|
||||
event,
|
||||
this.getUnfilteredTimelineSet()
|
||||
.getLiveTimeline()
|
||||
.getState(EventTimeline.FORWARDS),
|
||||
this.getLiveTimeline().getState(EventTimeline.FORWARDS),
|
||||
false
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user