summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Skype/src/skype.h2
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp5
-rw-r--r--protocols/Skype/src/skype_events.cpp2
-rw-r--r--protocols/Skype/src/skype_proto.h1
4 files changed, 8 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h
index 7422e19a1b..b38d28d98a 100644
--- a/protocols/Skype/src/skype.h
+++ b/protocols/Skype/src/skype.h
@@ -32,7 +32,7 @@
#include <m_skin.h>
//#include <statusmodes.h>
//#include <m_system.h>
-//#include <m_userinfo.h>
+#include <m_userinfo.h>
//#include <m_addcontact.h>
#include <m_icolib.h>
#include <m_utils.h>
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp
index 1ed5aaee5c..600007d25f 100644
--- a/protocols/Skype/src/skype_dialogs.cpp
+++ b/protocols/Skype/src/skype_dialogs.cpp
@@ -232,3 +232,8 @@ int __cdecl CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM lParam)
return 0;
}
+
+int __cdecl CSkypeProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam)
+{
+ return 0;
+} \ No newline at end of file
diff --git a/protocols/Skype/src/skype_events.cpp b/protocols/Skype/src/skype_events.cpp
index aa08a532e7..fdcf1fdedc 100644
--- a/protocols/Skype/src/skype_events.cpp
+++ b/protocols/Skype/src/skype_events.cpp
@@ -3,7 +3,7 @@
int CSkypeProto::OnModulesLoaded(WPARAM, LPARAM)
{
this->HookEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit);
-
+ this->HookEvent(ME_USERINFO_INITIALISE, &CSkypeProto::OnUserInfoInit);
this->login = this->GetSettingString(SKYPE_SETTINGS_LOGIN);
this->rememberPassword = this->GetSettingByte("RememberPassword");
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 71ee2313ff..064e6f3d93 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -87,6 +87,7 @@ public:
int __cdecl OnPreShutdown(WPARAM, LPARAM);
int __cdecl OnContactDeleted(WPARAM, LPARAM);
int __cdecl OnOptionsInit(WPARAM, LPARAM);
+ int __cdecl OnUserInfoInit(WPARAM, LPARAM);
int __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);
// instances