diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-15 18:35:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-15 18:35:28 +0300 |
commit | 436e303e24e5046d6cc52ac3da51a0b51adbef36 (patch) | |
tree | 4f7d3b27ad24e710dae845558e2d719b54d1d88a /protocols/ICQ-WIM/src | |
parent | f0d86d413859d402331b49b98db7d61fef801489 (diff) |
simpler way of applying server ids to messages
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 465cb052be..0794624c4a 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -75,11 +75,6 @@ MCONTACT CIcqProto::CheckOwnMessage(const CMStringA &reqId, const CMStringA &msg MCONTACT ret = pOwn->m_hContact; if (bRemove) { - // here we filter service messages for SecureIM, OTR etc, i.e. messages that - // weren't initialized by SRMM (we identify it by missing server id) - if (db_event_getById(m_szModuleName, msgId) == 0) - db_event_setId(m_szModuleName, 1, msgId); - mir_cslock lck(m_csOwnIds); m_arOwnIds.remove(pOwn); } @@ -453,8 +448,6 @@ 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; } |