diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-15 14:21:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-15 14:21:57 +0300 |
commit | dd01d74a7fe2ba22980476dd06b6efafd80c31a8 (patch) | |
tree | ba36dad71d2347aafb00af0e9e04b072f5b7eebf /protocols/ICQ-WIM/src/proto.h | |
parent | e0cd08488f88b6effef6e1cca5bda05648c6c70f (diff) |
ICQ-WIM: newly received messages were erroneously marked as read
Diffstat (limited to 'protocols/ICQ-WIM/src/proto.h')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/proto.h b/protocols/ICQ-WIM/src/proto.h index a30246ec19..9ef81dc69e 100644 --- a/protocols/ICQ-WIM/src/proto.h +++ b/protocols/ICQ-WIM/src/proto.h @@ -244,7 +244,7 @@ class CIcqProto : public PROTO<CIcqProto> void MarkAsRead(MCONTACT hContact); void MoveContactToGroup(MCONTACT hContact, const wchar_t *pwszGroup, const wchar_t *pwszNewGroup); bool RetrievePassword(); - void RetrieveUserHistory(MCONTACT, __int64 startMsgId); + void RetrieveUserHistory(MCONTACT, __int64 startMsgId, bool bCreateRead); void RetrieveUserInfo(MCONTACT = INVALID_CONTACT_ID); void SetServerStatus(int iNewStatus); void ShutdownSession(void); @@ -255,7 +255,7 @@ class CIcqProto : public PROTO<CIcqProto> void Json2int(MCONTACT, const JSONNode&, const char *szJson, const char *szSetting); void Json2string(MCONTACT, const JSONNode&, const char *szJson, const char *szSetting); MCONTACT ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact = -1); - void ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNode &msg, bool bFromHistory); + void ParseMessage(MCONTACT hContact, __int64 &lastMsgId, const JSONNode &msg, bool bCreateRead); void OnLoggedIn(void); void OnLoggedOut(void); |