Merge branch 'develop' into t3chguy/remove_bluebird
This commit is contained in:
commit
6121420113
47 changed files with 1838 additions and 245 deletions
|
@ -1075,6 +1075,7 @@ const TimelinePanel = createReactClass({
|
|||
if (timeline) {
|
||||
// This is a hot-path optimization by skipping a promise tick
|
||||
// by repeating a no-op sync branch in TimelineSet.getTimelineForEvent & MatrixClient.getEventTimeline
|
||||
this._timelineWindow.load(eventId, INITIAL_SIZE); // in this branch this method will happen in sync time
|
||||
onLoaded();
|
||||
} else {
|
||||
const prom = this._timelineWindow.load(eventId, INITIAL_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue