mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Show 'View X Replies' in all groups.
This commit is contained in:
parent
698c9fc4be
commit
5f932a8828
1 changed files with 2 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue