mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Fix: Room directory: stuck after the 20 first items
https://github.com/vector-im/riot-ios/issues/1329#issuecomment-310361132
This commit is contained in:
@@ -273,9 +273,12 @@
|
||||
|
||||
- (void)triggerDirectoryPagination
|
||||
{
|
||||
if (!recentsDataSource || recentsDataSource.publicRoomsDirectoryDataSource.hasReachedPaginationEnd || footerSpinnerView)
|
||||
if (!recentsDataSource
|
||||
|| recentsDataSource.state == MXKDataSourceStateUnknown
|
||||
|| recentsDataSource.publicRoomsDirectoryDataSource.hasReachedPaginationEnd
|
||||
|| footerSpinnerView)
|
||||
{
|
||||
// We are not yet ready or we got all public rooms or we are already paginating
|
||||
// We are not yet ready or being killed or we got all public rooms or we are already paginating
|
||||
// Do nothing
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user