diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 20:05:40 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 20:05:40 +0000 |
commit | 5851536bf2c79d9c7a7ffb4edb69b6a0f6305f9f (patch) | |
tree | e19260852ae696534012279e0cabc5b75bbaf1b3 /protocols/SkypeWeb/src/skype_chatrooms.cpp | |
parent | 4175d475a610d2ed581116a960a77df4efe6890d (diff) |
SkypeWeb: More fixes...
git-svn-id: http://svn.miranda-ng.org/main/trunk@13911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_chatrooms.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 96a6e450e4..6cf49cc4a9 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -395,7 +395,7 @@ void CSkypeProto::OnSendChatMessage(const TCHAR *chat_id, const TCHAR * tszMessa if (!IsOnline())
return;
ptrA szChatId(mir_t2a(chat_id));
- ptrA szMessage(mir_t2a(tszMessage));
+ ptrA szMessage(mir_utf8encodeT(tszMessage));
if (strncmp(szMessage, "/me ", 4) == 0)
SendRequest(new SendChatActionRequest(RegToken, szChatId, time(NULL), szMessage, Server));
else
@@ -461,7 +461,7 @@ void CSkypeProto::OnGetChatInfo(const NETLIBHTTPREQUEST *response, void *p) void CSkypeProto::RenameChat(const char *chat_id, const char *name)
{
ptrT tchat_id(mir_a2t(chat_id));
- ptrT tname(mir_a2t_cp(name, CP_UTF8));
+ ptrT tname(mir_utf8decodeT(name));
GCDEST gcd = { m_szModuleName, tchat_id, GC_EVENT_CHANGESESSIONAME };
GCEVENT gce = { sizeof(gce), &gcd };
@@ -473,7 +473,7 @@ void CSkypeProto::ChangeChatTopic(const char *chat_id, const char *topic, const {
ptrT tchat_id(mir_a2t(chat_id));
ptrT tname(mir_a2t(initiator));
- ptrT ttopic(mir_a2t(topic));
+ ptrT ttopic(mir_utf8decodeT(topic));
GCDEST gcd = { m_szModuleName, tchat_id, GC_EVENT_TOPIC };
GCEVENT gce = { sizeof(gce), &gcd };
|