mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 16:22:39 +00:00
The matrix Users are displayed if the user did not give access to his local contacts book.
This commit is contained in:
parent
f0e9580df9
commit
51c3c4ff66
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ static ContactManager* sharedContactManager = nil;
|
|||
|
||||
for(MXUser* user in users) {
|
||||
|
||||
if ([knownUserIDs indexOfObject:user.userId] == NSNotFound) {
|
||||
if (!knownUserIDs || [knownUserIDs indexOfObject:user.userId] == NSNotFound) {
|
||||
NSString* dummyContactID = [NSString stringWithFormat:@"%lu", (unsigned long)user.userId.hash];
|
||||
|
||||
// with the current API, there is no way to get the email from the matrxID
|
||||
|
|
Loading…
Reference in a new issue