From 7276f565f236851931872c4d8cf41b110a82233b Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 13 Feb 2017 13:28:38 +0100 Subject: [PATCH] tempoarily change linphone_chat_message_is_read --- coreapi/chat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index 3247a6cb1..6609e895b 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -1534,7 +1534,8 @@ void linphone_chat_message_remove_custom_header(LinphoneChatMessage *msg, const } bool_t linphone_chat_message_is_read(LinphoneChatMessage *msg) { - return (msg->state == LinphoneChatMessageStateDisplayed) ? TRUE : FALSE; + // TODO : Only state == displayed when reception accused supported + return (msg->state == LinphoneChatMessageStateDisplayed || msg->state == LinphoneChatMessageStateDelivered) ? TRUE : FALSE; } bool_t linphone_chat_message_is_outgoing(LinphoneChatMessage *msg) {