From 1361b152185c0ac4bc6834270ddbe41e9ebeef26 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 18 Apr 2015 14:54:55 +0000 Subject: SkypeWeb: Chats names fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@12913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 +- protocols/SkypeWeb/src/skype_login.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index a60bfd402a..1be7b7a0a1 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -80,7 +80,7 @@ MCONTACT CSkypeProto::AddChatRoom(const char *chatname) setString(hContact, "ChatID", chatname); TCHAR title[MAX_PATH]; - mir_sntprintf(title, SIZEOF(title), _T("%s #%s"), TranslateT("Groupchat"), chatname); + mir_sntprintf(title, SIZEOF(title), _T("%s #%s"), TranslateT("Groupchat"), ptrT(mir_a2t(chatname))); setTString(hContact, "Nick", title); DBVARIANT dbv; diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index dbd2108aff..f86c4c3bb6 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -185,8 +185,8 @@ void CSkypeProto::OnSubscriptionsCreated(const NETLIBHTTPREQUEST *response) } ptrA skypename(getStringA(SKYPE_SETTINGS_ID)); - SendRequest(new SendCapabilitiesRequest(RegToken, EndpointId, Server)); - SendRequest(new SetStatusRequest(RegToken, MirandaToSkypeStatus(m_iDesiredStatus), Server), &CSkypeProto::OnStatusChanged); + PushRequest(new SendCapabilitiesRequest(RegToken, EndpointId, Server)); + PushRequest(new SetStatusRequest(RegToken, MirandaToSkypeStatus(m_iDesiredStatus), Server), &CSkypeProto::OnStatusChanged); LIST skypenames(1); for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) -- cgit v1.2.3