From 05463e65c1fa74da551b9acf701366e185e516fc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 19 May 2015 19:40:42 +0000 Subject: fix for to early loading (before std plugins) git-svn-id: http://svn.miranda-ng.org/main/trunk@13703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_accounts.cpp | 2 ++ protocols/SkypeWeb/src/skype_proto.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols') 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(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); -- cgit v1.2.3