summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-14 16:27:05 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-14 16:27:05 +0000
commitbec03fef8475f5b3d19b8b2f1bf9983d84e42752 (patch)
tree182934b85c66db8965faf201187ec51bb7bde258 /protocols
parent85f8574ae52fb057a82ea35d2cd1a886944ff8c6 (diff)
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@15350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index a7023cc800..6c22ae55b1 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -186,7 +186,7 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node)
{
if (IsMe(szFromSkypename))
{
- if (szMessageId.GetLength() && szMessageId[szMessageId.GetLength() - 1] == '0' && szMessageId[szMessageId.GetLength() - 2] == '0' && szMessageId[szMessageId.GetLength() - 2] == '0')
+ if (szMessageId.GetLength() && szMessageId[szMessageId.GetLength() - 1] == '0' && szMessageId[szMessageId.GetLength() - 2] == '0' && szMessageId[szMessageId.GetLength() - 3] == '0')
szMessageId.Truncate(szMessageId.GetLength() - 3);
HANDLE hMessage = (HANDLE)(std::stoull(szMessageId.GetString()));
if (m_OutMessages.getIndex(hMessage) != -1)