diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-08 18:39:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-08 18:39:15 +0300 |
commit | 5b9180012f495e23dfdd9fb7d91cfb1258734fe3 (patch) | |
tree | b80652f253cefb1b807d9aac04ad8e9a4676518e /protocols/SkypeWeb/src | |
parent | f365c11384642f6674ff5019ff97eda6f89ba378 (diff) |
group chat initialization to be done in protocol's constructor, not inside OnModulesLoaded
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 3a423559ef..9547c455fc 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -51,6 +51,8 @@ CSkypeProto::CSkypeProto(const char* protoName, const wchar_t* userName) : g_plugin.addSound("skype_call_canceled", L"SkypeWeb", LPGENW("Incoming call canceled")); m_hPollingThread = ForkThreadEx(&CSkypeProto::PollingThread, NULL, NULL); + + InitGroupChatModule(); } CSkypeProto::~CSkypeProto() @@ -77,7 +79,6 @@ void CSkypeProto::OnModulesLoaded() InitDBEvents(); InitPopups(); - InitGroupChatModule(); } void CSkypeProto::OnShutdown() |