mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 12:46:58 +02:00
User directory: Make sure a valid MXSession is provided to ContactsDataSource
https://github.com/vector-im/riot-meta/issues/95
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
[filesSearchViewController displaySearch:filesSearchDataSource];
|
||||
|
||||
// Init the search for people
|
||||
peopleSearchDataSource = [[ContactsDataSource alloc] init];
|
||||
peopleSearchDataSource = [[ContactsDataSource alloc] initWithMatrixSession:mainSession];
|
||||
peopleSearchDataSource.areSectionsShrinkable = YES;
|
||||
peopleSearchDataSource.displaySearchInputInContactsList = YES;
|
||||
peopleSearchDataSource.contactCellAccessoryType = UITableViewCellAccessoryDisclosureIndicator;
|
||||
|
||||
Reference in New Issue
Block a user