summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-18 17:01:37 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-18 17:01:37 +0000
commitf54a8b0bfb54acef4454ccdb5ea8aff9d0cf3ef6 (patch)
tree02aaa448faa9adea24d4cd81f3d8a34a1bc119a5 /protocols/SkypeWeb/src/skype_messages.cpp
parent878d72910cccf4f84c7cb45bb4c11134920f3166 (diff)
SkypeWeb: small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14989 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, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index 1585ace33a..b8483e7b46 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -168,7 +168,7 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node)
bool bEdited = node["skypeeditedid"];
time_t timestamp = IsoToUnixTime(node["composetime"].as_string().c_str());
- int nEmoteOffset = node["skypeemoteoffset"].as_int();
+ int nEmoteOffset = atoi(node["skypeemoteoffset"].as_string().c_str());
MCONTACT hContact = AddContact(szConversationName, true);