mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 14:48:07 +00:00
Revert "chat.c: dont change message state to in progress if we failed to send it"
This reverts commit 17ee1f1590.
This commit is contained in:
parent
76de5cec07
commit
023f3849e1
1 changed files with 1 additions and 4 deletions
|
|
@ -418,10 +418,7 @@ void _linphone_chat_room_send_message(LinphoneChatRoom *cr, LinphoneChatMessage
|
|||
linphone_chat_room_delete_composing_refresh_timer(cr);
|
||||
|
||||
}
|
||||
// if operation failed, we should not change message state
|
||||
if (msg->state == LinphoneChatMessageOutgoing) {
|
||||
linphone_chat_message_set_state(msg, LinphoneChatMessageStateInProgress);
|
||||
}
|
||||
linphone_chat_message_set_state(msg, LinphoneChatMessageStateInProgress);
|
||||
}
|
||||
|
||||
void linphone_chat_message_update_state(LinphoneChatMessage *msg, LinphoneChatMessageState new_state) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue