From 81964daa0c8b0f0d965df7451bdc12e7ae952488 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Tue, 16 Aug 2022 10:35:18 +0200 Subject: [PATCH] Prevent infinite loop on displaying ICS invitation --- Classes/LinphoneUI/UIChatBubbleTextCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.m b/Classes/LinphoneUI/UIChatBubbleTextCell.m index 487a2bb37..851d3c0ea 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -168,7 +168,7 @@ return; } - if (_messageText && ![LinphoneManager getMessageAppDataForKey:@"localvideo" inMessage:_message]) { + if (_messageText && ![LinphoneManager getMessageAppDataForKey:@"localvideo" inMessage:_message] && ![ICSBubbleView isConferenceInvitationMessageWithCmessage:self.message]) { [_messageText setHidden:FALSE]; /* We need to use an attributed string here so that data detector don't mess * with the text style. See http://stackoverflow.com/a/20669356 */