From 81ce57622c3166830b23eae534dacc6b008c659d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Mar 2018 16:34:30 +0300 Subject: common protocol instance management code went into template --- protocols/SkypeWeb/src/skype_menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/skype_menus.cpp') diff --git a/protocols/SkypeWeb/src/skype_menus.cpp b/protocols/SkypeWeb/src/skype_menus.cpp index 55c4a4288f..5811ab33da 100644 --- a/protocols/SkypeWeb/src/skype_menus.cpp +++ b/protocols/SkypeWeb/src/skype_menus.cpp @@ -48,7 +48,7 @@ int CSkypeProto::PrebuildContactMenu(WPARAM hContact, LPARAM lParam) { for (auto &it : ContactMenuItems) Menu_ShowItem(it, false); - CSkypeProto *proto = CSkypeProto::GetContactAccount(hContact); + CSkypeProto *proto = CMPlugin::getInstance(hContact); return proto ? proto->OnPrebuildContactMenu(hContact, lParam) : 0; } -- cgit v1.2.3