tempoarily change linphone_chat_message_is_read

This commit is contained in:
Benjamin Reis 2017-02-13 13:28:38 +01:00
parent 0263048643
commit 7276f565f2

View file

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