diff options
author | George Hazan <ghazan@miranda.im> | 2020-06-29 18:50:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-06-29 18:50:53 +0300 |
commit | 61884f90293ee814791f0594d4388a8244b3511e (patch) | |
tree | 45e9cc5b99fb9331040e490656104b0de54e3781 /protocols/Discord/src | |
parent | 8b654ebcea0e70b228513b45bedfda08042cfb7b (diff) |
PROTO_INTERFACE::GetMenuItem - unified access to all protocol menu items
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/menus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/menus.cpp b/protocols/Discord/src/menus.cpp index 434e99792b..3cc43fc6ab 100644 --- a/protocols/Discord/src/menus.cpp +++ b/protocols/Discord/src/menus.cpp @@ -110,7 +110,7 @@ int CDiscordProto::OnMenuPrebuild(WPARAM hContact, LPARAM) Menu_ShowItem(m_hMenuToggleSync, bIsGuild); if (!bIsGuild && getWord(hContact, "ApparentMode") != 0) - Menu_ShowItem(m_hmiReqAuth, true); + Menu_ShowItem(GetMenuItem(PROTO_MENU_REQ_AUTH), true); if (getByte(hContact, "EnableSync")) Menu_ModifyItem(m_hMenuToggleSync, LPGENW("Disable sync"), Skin_GetIconHandle(SKINICON_CHAT_LEAVE)); |