summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-13 17:37:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-13 17:37:16 +0300
commit7243e4e914796965b395b9fab0c0e97870f64ee2 (patch)
treeb93f26ba8697878d477725e7026f61a0269e78c5
parent1d91debf07bc12ba6b2dc242e0984b07c46cda4e (diff)
fixes #2202 (ICQ: входящие изображения не помечаются прочитанными)
-rw-r--r--protocols/ICQ-WIM/src/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 12b7a33f80..d2b56be036 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -425,6 +425,8 @@ void CIcqProto::ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNo
pReq << CHAR_PARAM("aimsid", m_aimsid) << CHAR_PARAM("previews", "600");
Push(pReq);
+ db_event_setId(m_szModuleName, 1, szMsgId);
+
MarkAsRead(hContact);
return;
}