1
0
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:
Matthew Hodgson
2016-09-09 16:06:10 +01:00
parent 9882fed6d7
commit d480b6cf3e

View File

@@ -618,9 +618,7 @@ Room.prototype.addPendingEvent = function(event, txnId) {
// on the unfiltered timelineSet. // on the unfiltered timelineSet.
EventTimeline.setEventMetadata( EventTimeline.setEventMetadata(
event, event,
this.getUnfilteredTimelineSet() this.getLiveTimeline().getState(EventTimeline.FORWARDS),
.getLiveTimeline()
.getState(EventTimeline.FORWARDS),
false false
); );