UX rework: directory sticky header: list public rooms from any kind of directory server

This commit is contained in:
manuroe
2017-04-20 11:58:25 +02:00
parent 521c54300f
commit e05dd38bc8
2 changed files with 63 additions and 1 deletions
@@ -33,6 +33,23 @@
*/
@interface PublicRoomsDirectoryDataSource : MXKDataSource <UITableViewDataSource>
/**
The homeserver to list public rooms from.
Default is nil. In this case, the user's homeserver is used.
*/
@property (nonatomic, readonly) NSString *homeserver;
/**
List public rooms from a third party protocol.
Default is nil.
*/
@property (nonatomic) MXThirdPartyProtocolInstance *thirdpartyProtocolInstance;
/**
The display name of the current directory server.
*/
@property (nonatomic, readonly) NSString *directoryServerDisplayname;
/**
The number of public rooms matching `searchPattern`.
It is accurate only if 'moreThanRoomsCount' is NO.