From 6f703dbe7162e00a84130beeb4dd40200ef155c4 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 27 Oct 2012 13:48:53 +0000 Subject: - added own info loading and updating git-svn-id: http://svn.miranda-ng.org/main/trunk@2092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_proto.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/Skype/src/skype_proto.cpp') 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); } -- cgit v1.2.3