From b8ce037ffcccc802e5f6becb79b5fd59e3c7c736 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Fri, 9 Jan 2015 17:04:17 +0100 Subject: [PATCH] Add read flag to transfert message --- coreapi/chat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/chat.c b/coreapi/chat.c index 568c6887b..72660e011 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -1634,6 +1634,7 @@ LinphoneChatMessage* linphone_chat_room_create_file_transfer_message(LinphoneCha msg->callbacks=linphone_chat_message_cbs_new(); msg->chat_room=(LinphoneChatRoom*)cr; msg->message = NULL; + msg->is_read=TRUE; msg->file_transfer_information = linphone_content_copy(initial_content); msg->dir=LinphoneChatMessageOutgoing; linphone_chat_message_set_to(msg, linphone_chat_room_get_peer_address(cr));