summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-19 19:40:42 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-19 19:40:42 +0000
commit05463e65c1fa74da551b9acf701366e185e516fc (patch)
tree92a024aded3751bfca76b0ca86cc58d1794f7e14
parenta3d56a87c4548d368ebd13faaf793c7dfe49ad3f (diff)
fix for to early loading (before std plugins)
git-svn-id: http://svn.miranda-ng.org/main/trunk@13703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/SkypeWeb/src/skype_accounts.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_accounts.cpp b/protocols/SkypeWeb/src/skype_accounts.cpp
index 27a91cb9bf..41eda172b0 100644
--- a/protocols/SkypeWeb/src/skype_accounts.cpp
+++ b/protocols/SkypeWeb/src/skype_accounts.cpp
@@ -48,6 +48,8 @@ CSkypeProto* CSkypeProto::GetContactAccount(MCONTACT hContact)
int CSkypeProto::OnAccountLoaded(WPARAM, LPARAM)
{
+ SetAllContactsStatus(ID_STATUS_OFFLINE);
+
HookProtoEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit);
HookProtoEvent(ME_MSG_PRECREATEEVENT, &CSkypeProto::OnPreCreateMessage);
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index da6b72e525..dc51bca888 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -21,7 +21,6 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
PROTO<CSkypeProto>(protoName, userName), password(NULL)
{
m_hProtoIcon = Icons[0].Handle;
- SetAllContactsStatus(ID_STATUS_OFFLINE);
wchar_t name[128];
mir_sntprintf(name, SIZEOF(name), TranslateT("%s connection"), m_tszUserName);