diff options
Diffstat (limited to 'protocols')
-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);
}
|