From b7b4a79633e8a58ef04b7de54c4073406eaa9ebe Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Sat, 9 Nov 2024 04:48:42 +0100 Subject: [PATCH] Fix backported code --- Monal/Classes/ActiveChatsViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)