Prepare #904: Improve the people invite screens

- Make `HomePeopleSearchViewController` inherit of the new class `ContactsTableViewController` to handle room members.
This commit is contained in:
giomfo
2017-01-12 17:30:09 +01:00
parent 69182bdfd5
commit 11bb9703c3
9 changed files with 113 additions and 363 deletions
@@ -76,6 +76,8 @@
{
[super finalizeInit];
self.forceMatrixIdInDisplayName = YES;
_isAddParticipantScreenDisplaying = NO;
}
@@ -399,7 +401,7 @@
// Apply the search pattern if any
if (currentSearchText)
{
[self searchWithPattern:currentSearchText forceRefresh:YES];
[self searchWithPattern:currentSearchText forceReset:YES];
}
}
else
@@ -1538,7 +1540,7 @@
{
if (_isAddParticipantScreenDisplaying)
{
[self searchWithPattern:searchText forceRefresh:NO];
[self searchWithPattern:searchText forceReset:NO];
}
else
{
@@ -1654,7 +1656,7 @@
self.isAddParticipantScreenDisplaying = NO;
// Reset filtering
[self searchWithPattern:nil forceRefresh:NO];
[self searchWithPattern:nil forceReset:NO];
}
else
{