diff options
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index 4c160cc976..d623186130 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -162,7 +162,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) }
default:
{
- szText = (char*)pEvent->dbei->pBlob;
+ szText = ptrA(mir_utf8decodeA((char*)pEvent->dbei->pBlob));
}
}
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);
|