diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-04-22 19:50:08 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-04-22 19:50:08 +0000 |
commit | 53c5011ffb6e8811b48a231c788a6fba81b24e4c (patch) | |
tree | 603badaf168e8ed386de0667aa87ca8160b2e3bc /protocols/Skype/src/skype_dialogs.cpp | |
parent | f35fa0bf945467eb9a5e9e6bdfa52fa59499e7fe (diff) |
- some changes in chats (may contains errors)
- fix for profile update
git-svn-id: http://svn.miranda-ng.org/main/trunk@4507 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r-- | protocols/Skype/src/skype_dialogs.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp index fc74ad7a24..009e8c690c 100644 --- a/protocols/Skype/src/skype_dialogs.cpp +++ b/protocols/Skype/src/skype_dialogs.cpp @@ -574,11 +574,11 @@ INT_PTR CALLBACK CSkypeProto::InviteToChatProc(HWND hwndDlg, UINT msg, WPARAM wP case CLN_NEWCONTACT:
if (param && (nmc->flags & (CLNF_ISGROUP | CLNF_ISINFO)) == 0)
{
- char *contacts = NULL;
+ wchar_t *contacts = NULL;
if (param->id)
{
- HANDLE hContact = param->ppro->GetChatRoomByID(param->id);
- if (hContact && ::db_get_w(hContact, param->ppro->m_szModuleName, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
+ HANDLE hContact = param->ppro->GetChatRoomByCid(param->id);
+ if (hContact && param->ppro->IsContactOnline(hContact))
{
contacts = param->ppro->GetChatUsers(param->id);
}
@@ -590,11 +590,11 @@ INT_PTR CALLBACK CSkypeProto::InviteToChatProc(HWND hwndDlg, UINT msg, WPARAM wP case CLN_LISTREBUILT:
if (param)
{
- char *contacts = NULL;
+ wchar_t *contacts = NULL;
if (param->id)
{
- HANDLE hContact = param->ppro->GetChatRoomByID(param->id);
- if (hContact && ::db_get_w(hContact, param->ppro->m_szModuleName, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
+ HANDLE hContact = param->ppro->GetChatRoomByCid(param->id);
+ if (hContact && param->ppro->IsContactOnline(hContact))
{
contacts = param->ppro->GetChatUsers(param->id);
}
|