Disable pending events for thread list when server supports threads (#8003)

pull/21833/head
Germain 2022-03-08 15:51:24 +00:00 committed by GitHub
parent 5c535d1885
commit 7faf56b7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,10 @@ export async function getThreadTimelineSet(
filter.filterId = filterId;
const timelineSet = room.getOrCreateFilteredTimelineSet(
filter,
{ prepopulateTimeline: false },
{
prepopulateTimeline: false,
pendingEvents: false,
},
);
timelineSet.resetLiveTimeline();