diff --git a/Monal/Classes/ActiveChatsViewController.m b/Monal/Classes/ActiveChatsViewController.m index 31bb7ec75..f63f3d001 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* accountID = accountDict[kAccountID]; - if([MLNotificationManager sharedInstance].currentContact.accountID.intValue == accountID.intValue) + NSNumber* accountNo = accountDict[kAccountID]; + if([MLNotificationManager sharedInstance].currentContact.accountNo.intValue == accountNo.intValue) found = YES; } if(!found)