mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 22:26:59 +02:00
User directory: Use the new hs api (https://github.com/vector-im/riot-meta/issues/95)
This commit is contained in:
@@ -16,6 +16,20 @@
|
||||
|
||||
#import <MatrixKit/MatrixKit.h>
|
||||
|
||||
/**
|
||||
The state of the users search from the homeserver user directory.
|
||||
*/
|
||||
typedef enum : NSUInteger
|
||||
{
|
||||
ContactsDataSourceUserDirectoryStateLoading,
|
||||
ContactsDataSourceUserDirectoryStateLoadedButLimited,
|
||||
ContactsDataSourceUserDirectoryStateLoaded,
|
||||
// The search is based on local known matrix contacts
|
||||
ContactsDataSourceUserDirectoryStateOfflineLoading,
|
||||
ContactsDataSourceUserDirectoryStateOfflineLoaded
|
||||
} ContactsDataSourceUserDirectoryState;
|
||||
|
||||
|
||||
/**
|
||||
'ContactsDataSource' is a base class to handle contacts in Riot.
|
||||
*/
|
||||
@@ -145,4 +159,9 @@
|
||||
*/
|
||||
@property (nonatomic, readonly) MXKContact *searchInputContact;
|
||||
|
||||
/**
|
||||
The state of the users search from the homeserver user directory.
|
||||
*/
|
||||
@property (nonatomic, readonly) ContactsDataSourceUserDirectoryState userDirectoryState;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user