Don't allow replying to local messages.

This commit is contained in:
John Preston 2023-10-29 12:31:45 +04:00
parent 096ddcad6d
commit 5fee0a7a73
1 changed files with 1 additions and 1 deletions

View File

@ -2380,7 +2380,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
}; };
const auto addReplyAction = [&](HistoryItem *item) { const auto addReplyAction = [&](HistoryItem *item) {
if (!item) { if (!item || !item->isRegular()) {
return; return;
} }
const auto canSendReply = [&] { const auto canSendReply = [&] {