summaryrefslogtreecommitdiff
path: root/protocols/Sametime
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Sametime')
-rw-r--r--protocols/Sametime/src/conference.cpp4
-rw-r--r--protocols/Sametime/src/sametime_session.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Sametime/src/conference.cpp b/protocols/Sametime/src/conference.cpp
index 82d5e3110a..b99b25f74b 100644
--- a/protocols/Sametime/src/conference.cpp
+++ b/protocols/Sametime/src/conference.cpp
@@ -553,7 +553,7 @@ void CSametimeProto::InitConferenceMenu()
void CSametimeProto::DeinitConferenceMenu()
{
debugLog(_T("CSametimeProto::DeinitConferenceMenu()"));
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hLeaveChatMenuItem, (LPARAM)0);
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hCreateChatMenuItem, (LPARAM)0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hLeaveChatMenuItem, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hCreateChatMenuItem, 0);
}
diff --git a/protocols/Sametime/src/sametime_session.cpp b/protocols/Sametime/src/sametime_session.cpp
index b00b97457c..5abc64a675 100644
--- a/protocols/Sametime/src/sametime_session.cpp
+++ b/protocols/Sametime/src/sametime_session.cpp
@@ -587,7 +587,7 @@ void CSametimeProto::InitSessionMenu()
void CSametimeProto::DeinitSessionMenu()
{
debugLog(_T("CSametimeProto::DeinitSessionMenu()"));
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hSessionAnnounceMenuItem, (LPARAM)0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hSessionAnnounceMenuItem, 0);
}
void CSametimeProto::InitCritSection()