diff --git a/Telegram/SourceFiles/history/history_inner_widget.cpp b/Telegram/SourceFiles/history/history_inner_widget.cpp index 1a302bd10..7838dda79 100644 --- a/Telegram/SourceFiles/history/history_inner_widget.cpp +++ b/Telegram/SourceFiles/history/history_inner_widget.cpp @@ -2227,8 +2227,11 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) { if (!item->isService() && peerIsChannel(itemId.peer) && !_peer->isMegagroup()) { + constexpr auto kMinViewsCount = 10; if (const auto channel = _peer->asChannel()) { - if (channel->flags() & ChannelDataFlag::CanGetStatistics) { + if ((channel->flags() & ChannelDataFlag::CanGetStatistics) + || (channel->canPostMessages() + && item->viewsCount() >= kMinViewsCount)) { auto callback = crl::guard(controller, [=] { controller->showSection( Info::Statistics::Make(channel, itemId, {}));