mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix IMDN handling for chat rooms that do not use CPIM.
This commit is contained in:
parent
1041cdb5da
commit
ae0bbc7ef8
1 changed files with 5 additions and 0 deletions
|
|
@ -496,6 +496,11 @@ void ChatMessagePrivate::notifyReceiving () {
|
|||
_linphone_chat_room_notify_chat_message_should_be_stored(chatRoom, L_GET_C_BACK_PTR(q->getSharedFromThis()));
|
||||
if (toBeStored)
|
||||
storeInDb();
|
||||
} else {
|
||||
// For compatibility, when CPIM is not used
|
||||
positiveDeliveryNotificationRequired = false;
|
||||
negativeDeliveryNotificationRequired = false;
|
||||
displayNotificationRequired = false;
|
||||
}
|
||||
shared_ptr<ConferenceChatMessageEvent> event = make_shared<ConferenceChatMessageEvent>(
|
||||
::time(nullptr), q->getSharedFromThis()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue