summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2024-10-22 16:32:38 +0500
committerElzorFox <elzorfox@ya.ru>2024-10-22 16:32:38 +0500
commit071041acb8dec661ce6e7c4ddad9caf14530793c (patch)
tree72ebd3a61a7a55120e299b7d45c9f81a46686f4f
parentfb464ac2f0a0c57ccb3486c9cf70b6775674ff53 (diff)
VKontakte: ops
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 826dfa7362..a0e49f8cce 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -933,7 +933,7 @@ void CVkProto::MarkRemoteRead(MCONTACT hContact, VKMessageID_t iMessageId)
MEVENT hReadEvent = getDword(hContact, "RemoteRead");
if (hReadEvent) {
DB::EventInfo dbeiRead(hReadEvent);
- VKMessageID_t iReadMessageId = strtol(strcat((char *)dbeiRead.szId, "_"), nullptr, 10);
+ VKMessageID_t iReadMessageId = strtol(dbeiRead.szId, nullptr, 10);
if (iReadMessageId >= iMessageId)
return;
}