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 {