mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
fix mark as read on basic chat room
This commit is contained in:
parent
0f006ab1f6
commit
e9a88353a0
2 changed files with 3 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ bool ChatRoomPrivate::sendDisplayNotification (const shared_ptr<ChatMessage> &me
|
|||
LinphoneImNotifPolicy *policy = linphone_core_get_im_notif_policy(q->getCore()->getCCore());
|
||||
if (linphone_im_notif_policy_get_send_imdn_displayed(policy)) {
|
||||
imdnHandler->notifyDisplay(message);
|
||||
return true;
|
||||
return imdnHandler->aggregationEnabled();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,13 +69,14 @@ public:
|
|||
void onGlobalStateChanged (LinphoneGlobalState state) override;
|
||||
void onNetworkReachable (bool sipNetworkReachable, bool mediaNetworkReachable) override;
|
||||
|
||||
bool aggregationEnabled () const;
|
||||
|
||||
static std::string createXml (const std::string &id, time_t time, Imdn::Type imdnType, LinphoneReason reason);
|
||||
static void parse (const std::shared_ptr<ChatMessage> &chatMessage);
|
||||
|
||||
private:
|
||||
static int timerExpired (void *data, unsigned int revents);
|
||||
|
||||
bool aggregationEnabled () const;
|
||||
void send ();
|
||||
void startTimer ();
|
||||
void stopTimer ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue