From aa4b7e5554ab399109d49d9d8149f49e690c6af6 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Sun, 25 Jul 2021 01:24:33 +0200 Subject: [PATCH] Fix incoming picture with no text display --- 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 67233af23..5e8e57013 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -624,7 +624,7 @@ static const CGFloat CELL_MESSAGE_Y_MARGIN = 44; } - LinphoneContent *fileContent = linphone_chat_message_get_utf8_text(chat) ? nil : linphone_chat_message_get_file_transfer_information(chat); + LinphoneContent *fileContent = linphone_chat_message_get_file_transfer_information(chat); if (url == nil && fileContent == NULL) { size = [self computeBoundingBox:messageText size:CGSizeMake(width - CELL_MESSAGE_X_MARGIN - 4, CGFLOAT_MAX)