diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-19 09:50:38 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-19 09:50:38 +0000 |
commit | 75d49b8c135872953af2aa706916e5e2117efd64 (patch) | |
tree | 20c516bbbe07acf625057486250e6d5ffbba1896 | |
parent | 819617105e18904bf8094d786bf0541b8477474d (diff) |
SkypeWeb: Small fix (it should be rewritten).
git-svn-id: http://svn.miranda-ng.org/main/trunk@12931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 762283b415..51195b2522 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -328,7 +328,7 @@ void CSkypeProto::AddChatContact(const TCHAR *tchat_id, const char *id, const ch gce.ptszNick = tnick; gce.ptszUID = tid; gce.time = ::time(NULL); - gce.bIsMe = false;//!strcmp(id, facy.self_.user_id.c_str()); + gce.bIsMe = IsMe(id); if (gce.bIsMe) { gce.ptszStatus = TranslateT("Myself"); diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index 6c7d34ff16..a4b040eec6 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -98,10 +98,10 @@ void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response) GCDEST gcd = { m_szModuleName, _A2T(chatname), GC_EVENT_MESSAGE };
GCEVENT gce = { sizeof(GCEVENT), &gcd };
gce.bIsMe = IsMe(ContactUrlToName(from));
- gce.ptszUID = _A2T(ContactUrlToName(from));
+ gce.ptszUID = mir_a2t(ContactUrlToName(from));
gce.time = timestamp;
- gce.ptszNick = _A2T(ContactUrlToName(from));
- gce.ptszText = _A2T(content);
+ gce.ptszNick = mir_a2t(ContactUrlToName(from));
+ gce.ptszText = mir_a2t(content);
gce.dwFlags = GCEF_NOTNOTIFY;
CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);
}
|