diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index b02b41f62c..d7de50fde7 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -6685,6 +6685,12 @@ void HistoryWidget::paintEditHeader(Painter &p, const QRect &rect, int left, int if (!_replyEditMsg || _replyEditMsg->history()->peer->isSelf()) return; + if (const auto megagroup = _replyEditMsg->history()->peer->asMegagroup()) { + if (megagroup->amCreator() || megagroup->hasAdminRights()) { + return; + } + } + QString editTimeLeftText; int updateIn = -1; auto timeSinceMessage = ItemDateTime(_replyEditMsg).msecsTo(QDateTime::currentDateTime());