mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fixed chatRoom.markAsRead when called from ChatMessageReceived callback
This commit is contained in:
parent
6a4eb317f4
commit
e0114d64f5
1 changed files with 0 additions and 3 deletions
|
|
@ -418,9 +418,6 @@ shared_ptr<ChatMessage> ChatRoom::findChatMessage (const string &messageId, Chat
|
|||
void ChatRoom::markAsRead () {
|
||||
L_D();
|
||||
|
||||
if (getUnreadChatMessageCount() == 0)
|
||||
return;
|
||||
|
||||
CorePrivate *dCore = getCore()->getPrivate();
|
||||
for (auto &chatMessage : dCore->mainDb->getUnreadChatMessages(d->chatRoomId))
|
||||
chatMessage->sendDisplayNotification();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue