From bec03fef8475f5b3d19b8b2f1bf9983d84e42752 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 14 Sep 2015 16:27:05 +0000 Subject: oops git-svn-id: http://svn.miranda-ng.org/main/trunk@15350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/skype_messages.cpp') 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) -- cgit v1.2.3