Directory server list: List user's HS directories too

List the rooms of the selected HS
This commit is contained in:
manuroe
2017-04-21 16:35:27 +02:00
parent 2d2eb09c81
commit 6eb6882d69
5 changed files with 33 additions and 40 deletions
@@ -24,12 +24,12 @@
Display data managed by the passed `MXKDirectoryServersDataSource`.
@param dataSource the data source serving the data.
@param onComplete a block called when the picker disappears. It provides either the selected
protocol instance or a new homeserver URL.
@param onComplete a block called when the picker disappears. It provides data about
the selected protocol instance or homeserver.
Both nil means the user cancelled the picker.
*/
- (void)displayWithDataSource:(MXKDirectoryServersDataSource*)dataSource
onComplete:(void (^)(MXThirdPartyProtocolInstance *thirdpartyProtocolInstance, NSString *homeserver))onComplete;
onComplete:(void (^)(id<MXKDirectoryServerCellDataStoring> cellData))onComplete;
@end