summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-17 22:35:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-17 22:35:17 +0300
commitc4a58bcf46c12aef3149aa97c26c7f1dd212afac (patch)
treeeeb2dfbe9484e0a83ee64eaf6abd1b8232109ac6 /protocols
parent884b95d2bb811888048016afa959e46dceb93fba (diff)
finallly fixes #1773
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp2
-rw-r--r--protocols/ICQ-WIM/src/server.cpp2
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);
}
}