diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-17 22:35:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-17 22:35:17 +0300 |
commit | c4a58bcf46c12aef3149aa97c26c7f1dd212afac (patch) | |
tree | eeb2dfbe9484e0a83ee64eaf6abd1b8232109ac6 | |
parent | 884b95d2bb811888048016afa959e46dceb93fba (diff) |
finallly fixes #1773
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index 86fb3257fb..e1f926c4ff 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -304,7 +304,7 @@ INT_PTR CIcqProto::GetCaps(int type, MCONTACT) return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND | PF2_INVISIBLE; case PFLAGNUM_4: - nReturn = PF4_FORCEAUTH | PF4_SUPPORTIDLE | PF4_IMSENDOFFLINE | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID; + nReturn = PF4_FORCEAUTH | PF4_SUPPORTIDLE | PF4_IMSENDOFFLINE | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID | PF4_READNOTIFY; break; case PFLAG_UNIQUEIDTEXT: diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index 2a2b4bb986..097f17fa4d 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -797,7 +797,7 @@ void CIcqProto::ProcessImState(const JSONNode &ev) CheckLastId(hContact, ev); if (g_bMessageState) { - MessageReadData data(it["ts"].as_int(), MRD_TYPE_MESSAGETIME); + MessageReadData data(time(0), MRD_TYPE_MESSAGETIME); CallService(MS_MESSAGESTATE_UPDATE, hContact, (LPARAM)&data); } } |