diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-21 14:52:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-21 14:52:41 +0300 |
commit | e3a9f20bdf4196d8312c36cb0b00017197161fca (patch) | |
tree | e084b4e44a60e58e53aae4ab88b11e2326ba661e | |
parent | d889d65d4b832259ae68f0e596aee75a0c139c8e (diff) |
Discord: suddenly "Request authorization" menu item is shown for Discord groupchats
-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 311e002717..1a47a62ebe 100644 --- a/protocols/Discord/src/menus.cpp +++ b/protocols/Discord/src/menus.cpp @@ -109,7 +109,7 @@ int CDiscordProto::OnMenuPrebuild(WPARAM hContact, LPARAM) Menu_ShowItem(m_hMenuCreateChannel, bIsGuild); Menu_ShowItem(m_hMenuToggleSync, bIsGuild); - if (getWord(hContact, "ApparentMode") != 0) + if (!bIsGuild && getWord(hContact, "ApparentMode") != 0) Menu_ShowItem(m_hmiReqAuth, true); if (getByte(hContact, "EnableSync")) |