summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/menus.cpp')
-rw-r--r--protocols/Telegram/src/menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/menus.cpp b/protocols/Telegram/src/menus.cpp
index e2be884305..fd57a2e771 100644
--- a/protocols/Telegram/src/menus.cpp
+++ b/protocols/Telegram/src/menus.cpp
@@ -57,7 +57,7 @@ int CTelegramProto::OnPrebuildNSMenu(WPARAM hContact, LPARAM lParam)
auto *pDbei = (DB::EventInfo*)lParam;
Menu_ShowItem(hmiForward, true);
- Menu_ShowItem(hmiReply, mir_strlen(pDbei->szId) > 0);
+ Menu_ShowItem(hmiReply, mir_strlen(pDbei->szId) > 0 && !Contact::IsReadonly(hContact));
auto *pUser = FindUser(GetId(hContact));
Menu_ShowItem(hmiReaction, pUser && pUser->pReactions);