Show 'View X Replies' in all groups.

This commit is contained in:
John Preston 2020-10-21 10:58:46 +03:00
parent 698c9fc4be
commit 5f932a8828

View file

@ -1552,10 +1552,8 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
}
const auto repliesCount = item->repliesCount();
const auto withReplies = IsServerMsgId(item->id)
&& (repliesCount > 0 || item->replyToTop());
if (withReplies
&& item->history()->peer->isMegagroup()
&& item->history()->peer->asMegagroup()->linkedChat()) {
&& (repliesCount > 0);
if (withReplies && item->history()->peer->isMegagroup()) {
const auto rootId = repliesCount ? item->id : item->replyToTop();
const auto phrase = (repliesCount > 0)
? tr::lng_replies_view(