diff --git a/Monal/Classes/ActiveChatsViewController.m b/Monal/Classes/ActiveChatsViewController.m index f63f3d001..0eb0ada15 100755 --- a/Monal/Classes/ActiveChatsViewController.m +++ b/Monal/Classes/ActiveChatsViewController.m @@ -366,8 +366,8 @@ -(void) refreshDisplay BOOL found = NO; for(NSDictionary* accountDict in [[DataLayer sharedInstance] enabledAccountList]) { - NSNumber* accountNo = accountDict[kAccountID]; - if([MLNotificationManager sharedInstance].currentContact.accountNo.intValue == accountNo.intValue) + NSNumber* accountId = accountDict[kAccountID]; + if([MLNotificationManager sharedInstance].currentContact.accountId.intValue == accountId.intValue) found = YES; } if(!found)