diff options
Diffstat (limited to 'protocols/Telegram')
-rw-r--r-- | protocols/Telegram/src/server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 191a0d5b1f..2d3062d700 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -1088,6 +1088,9 @@ void CTelegramProto::ProcessRemoteMarkRead(TD::updateChatReadOutbox *pObj) MarkRead(pUser->hContact, szMaxId, true);
CallService(MS_MESSAGESTATE_UPDATE, GetRealContact(pUser), MRD_TYPE_READ);
+
+ if (auto hEvent = db_event_getById(m_szModuleName, szMaxId))
+ NS_NotifyRemoteRead(GetRealContact(pUser), hEvent);
}
void CTelegramProto::ProcessScopeNotification(TD::updateScopeNotificationSettings *pObj)
|