mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Feature/2897 restricted user
This commit is contained in:
committed by
Arnfried Griesert
parent
472dbded4e
commit
4b1ca0ff7f
@@ -706,7 +706,11 @@
|
||||
|
||||
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
|
||||
{
|
||||
[contactsDataSource searchWithPattern:searchText forceReset:NO];
|
||||
AccountRestrictionService *service = [[AccountRestrictionService alloc] initWithMxSession:self.mainSession];
|
||||
|
||||
if(![service isAddressListRestriction]) {
|
||||
[contactsDataSource searchWithPattern:searchText forceReset:NO];
|
||||
}
|
||||
|
||||
self.contactsAreFilteredWithSearch = searchText.length ? YES : NO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user