summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-06-07 16:53:32 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-06-07 16:53:32 +0300
commit9e042dab8017eb97052f1627df83d42c365a61d2 (patch)
treedb664bdf3209b84e19464096f90258ae97afdff5
parent74bb4147fd7212c23ed81000b4b096a543d44e4d (diff)
Discord: guild options should be avaiable for guild contacts only
-rw-r--r--protocols/Discord/src/menus.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Discord/src/menus.cpp b/protocols/Discord/src/menus.cpp
index 1c248df24e..13c5f204d9 100644
--- a/protocols/Discord/src/menus.cpp
+++ b/protocols/Discord/src/menus.cpp
@@ -109,6 +109,7 @@ int CDiscordProto::OnMenuPrebuild(WPARAM hContact, LPARAM)
Menu_ShowItem(m_hMenuLeaveGuild, bIsGuild);
Menu_ShowItem(m_hMenuCreateChannel, bIsGuild);
Menu_ShowItem(m_hMenuToggleSync, bIsGuild);
+ Menu_ShowItem(m_hMenuDatabaseHistory, bIsGuild);
if (!bIsGuild && getWord(hContact, "ApparentMode") != 0)
Menu_ShowItem(GetMenuItem(PROTO_MENU_REQ_AUTH), true);