summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-27 13:48:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-27 13:48:53 +0000
commit6f703dbe7162e00a84130beeb4dd40200ef155c4 (patch)
tree929e6cbf5bd9bc93292abfd87be6f3faf06bf0d7 /protocols/Skype/src/skype_proto.cpp
parente1748da64473c0a9b5f5ac2a02923f9f3fbcd510 (diff)
- added own info loading and updating
git-svn-id: http://svn.miranda-ng.org/main/trunk@2092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 87a1e758cf..789c84525e 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -363,6 +363,10 @@ void __cdecl CSkypeProto::SignInAsync(void*)
}
else
{
+ this->account.fetch();
+ this->account->SetOnAccountChangedCallback(
+ (CAccount::OnAccountChanged)&CSkypeProto::OnAccountChanged, this);
+
g_skype->GetConversationList(g_skype->inbox, CConversation::INBOX_CONVERSATIONS);
fetch(g_skype->inbox);
g_skype->SetOnConversationAddedCallback(
@@ -374,6 +378,8 @@ void __cdecl CSkypeProto::SignInAsync(void*)
}
this->SetStatus(this->m_iDesiredStatus);
+ this->ForkThread(&CSkypeProto::LoadOwnInfo, this);
+ //this->LoadOwnInfo(this);
this->ForkThread(&CSkypeProto::LoadContactList, this);
//this->LoadContactList(this);
}