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