From 7568e51af636f120886c373132d0d3a25dcbb4e3 Mon Sep 17 00:00:00 2001 From: Benjamin Verdier Date: Mon, 11 Jun 2018 15:55:34 +0200 Subject: [PATCH] Still ongoing --- Classes/ChatConversationTableView.m | 4 ++ .../Base.lproj/UIChatBubblePhotoCell.xib | 2 +- Classes/LinphoneUI/UIChatBubblePhotoCell.h | 2 - Classes/LinphoneUI/UIChatBubblePhotoCell.m | 59 ++++++++++--------- 4 files changed, 35 insertions(+), 32 deletions(-) diff --git a/Classes/ChatConversationTableView.m b/Classes/ChatConversationTableView.m index 8d991453f..658a7d459 100644 --- a/Classes/ChatConversationTableView.m +++ b/Classes/ChatConversationTableView.m @@ -184,6 +184,10 @@ cell = [[NSClassFromString(kCellId) alloc] initWithIdentifier:kCellId]; cell.indexInTable = indexPath; } + //if (linphone_chat_message_get_file_transfer_information(chat) || linphone_chat_message_get_external_body_url(chat)) { + // UIChatBubblePhotoCell *photoCell = (UIChatBubblePhotoCell *) cell; + // [photoCell unloadImages]; + //} [cell setEvent:event]; if (chat) [cell update]; diff --git a/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib b/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib index 59195a3fc..ca3281610 100644 --- a/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib @@ -86,7 +86,7 @@