Merge branch 'develop' into ismail/5629_thread_context

This commit is contained in:
ismailgulek
2022-02-22 11:48:21 +03:00
80 changed files with 1275 additions and 500 deletions
@@ -1448,6 +1448,16 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
return NO;
}
}
if (!USE_THREAD_TIMELINE && direction == MXTimelineDirectionBackwards && self.threadId)
{
// when not using a thread timeline, data source will desperately fill the screen with events by filtering them locally.
// we can stop when we see the thread root event when paginating backwards
if ([event.eventId isEqualToString:self.threadId])
{
self.shouldStopBackPagination = YES;
}
}
return YES;
}