mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
Rename roomsCount and moreThanRoomsCount to indicate they are for search results.
Redefine roomsCount as the number of fetched rooms in the data source.
This commit is contained in:
@@ -62,11 +62,16 @@
|
||||
@property (nonatomic, readonly) NSString *directoryServerDisplayname;
|
||||
|
||||
/**
|
||||
The number of public rooms matching `searchPattern`.
|
||||
It is accurate only if 'moreThanRoomsCount' is NO.
|
||||
The number of public rooms that have been fetched so far.
|
||||
*/
|
||||
@property (nonatomic, readonly) NSUInteger roomsCount;
|
||||
|
||||
/**
|
||||
The total number of public rooms matching `searchPattern`.
|
||||
It is accurate only if 'moreThanRoomsCount' is NO.
|
||||
*/
|
||||
@property (nonatomic, readonly) NSUInteger searchResultsCount;
|
||||
|
||||
/**
|
||||
In case of search with a lot of matching public rooms, we cannot return an accurate
|
||||
value except by paginating the full list of rooms, which is not expected.
|
||||
@@ -74,7 +79,7 @@
|
||||
This flag indicates that we know that there is more matching rooms than we got
|
||||
so far.
|
||||
*/
|
||||
@property (nonatomic, readonly) BOOL moreThanRoomsCount;
|
||||
@property (nonatomic, readonly) BOOL searchResultsCountIsLimited;
|
||||
|
||||
/**
|
||||
The maximum number of public rooms to retrieve during a pagination.
|
||||
|
||||
Reference in New Issue
Block a user