From b236f498c74f0fa24f930a29cff41750f57ebdf2 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 5 Nov 2015 16:14:47 +0100 Subject: [PATCH] Chat: fix filetransfer bar progres --- Classes/LinphoneUI/UIChatBubblePhotoCell.m | 1 + TestsUI/ChatTester.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/UIChatBubblePhotoCell.m b/Classes/LinphoneUI/UIChatBubblePhotoCell.m index e7b140cdd..b96614f46 100644 --- a/Classes/LinphoneUI/UIChatBubblePhotoCell.m +++ b/Classes/LinphoneUI/UIChatBubblePhotoCell.m @@ -67,6 +67,7 @@ const char *name = linphone_content_get_name(c); for (FileTransferDelegate *aftd in [[LinphoneManager instance] fileTransferDelegates]) { if (linphone_chat_message_get_file_transfer_information(aftd.message) && + (linphone_chat_message_is_outgoing(aftd.message) == linphone_chat_message_is_outgoing(amessage)) && strcmp(name, linphone_content_get_name( linphone_chat_message_get_file_transfer_information(aftd.message))) == 0) { if (ftd != aftd) { diff --git a/TestsUI/ChatTester.m b/TestsUI/ChatTester.m index ca64d5cab..900d4f7f9 100644 --- a/TestsUI/ChatTester.m +++ b/TestsUI/ChatTester.m @@ -17,7 +17,7 @@ [super beforeAll]; [self switchToValidAccountIfNeeded]; // turn off logs for chat tests because there are way to much logs in liblinphone in filetransfer and sqlite - linphone_core_set_log_level(ORTP_WARNING); + // linphone_core_set_log_level(ORTP_WARNING); } - (void)beforeEach {