summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-21 12:09:25 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-21 12:09:25 +0000
commita8af09a3f64f5cb1b7417977ed8265b5a97e4107 (patch)
treeab3d71903d4cee74eb1b6ec15a4a483188565523 /protocols/SkypeWeb/src/skype_messages.cpp
parentcec8996acb962a45d7c0549cd6da73a4625cc070 (diff)
SkypeWeb: attempt o remove crutches
git-svn-id: http://svn.miranda-ng.org/main/trunk@15417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index 6c22ae55b1..e8140392af 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -186,8 +186,6 @@ 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() - 3] == '0')
- szMessageId.Truncate(szMessageId.GetLength() - 3);
HANDLE hMessage = (HANDLE)(std::stoull(szMessageId.GetString()));
if (m_OutMessages.getIndex(hMessage) != -1)
{