From 5fee0a7a737610f28066893adab137c321d58cd2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 29 Oct 2023 12:31:45 +0400 Subject: [PATCH] Don't allow replying to local messages. --- Telegram/SourceFiles/history/history_inner_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 2da2c97e4..c4284cd88 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2380,7 +2380,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { }; const auto addReplyAction = [&](HistoryItem *item) { - if (!item) { + if (!item || !item->isRegular()) { return; } const auto canSendReply = [&] {