mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Do not increase unread message counter when sending one...
This commit is contained in:
parent
c5d232691a
commit
4a04f3ba5a
1 changed files with 0 additions and 3 deletions
|
|
@ -451,9 +451,6 @@ void _linphone_chat_room_send_message(LinphoneChatRoom *cr, LinphoneChatMessage
|
|||
msg->message_id = ms_strdup(sal_op_get_call_id(op)); /* must be known at that time */
|
||||
msg->storage_id = linphone_chat_message_store(msg);
|
||||
|
||||
if (cr->unread_count >= 0 && !linphone_chat_message_is_read(msg))
|
||||
cr->unread_count++;
|
||||
|
||||
if (cr->is_composing == LinphoneIsComposingActive) {
|
||||
cr->is_composing = LinphoneIsComposingIdle;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue