Chat: fix filetransfer bar progres

This commit is contained in:
Gautier Pelloux-Prayer 2015-11-05 16:14:47 +01:00
parent 96531b2224
commit b236f498c7
2 changed files with 2 additions and 1 deletions

View file

@ -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) {

View file

@ -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 {