diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index a8dc52ad8..28aa496e7 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -6202,12 +6202,14 @@ void HistoryWidget::resizeEvent(QResizeEvent *e) { if (_pinnedBar) { if (_scroll.y() != st::replyHeight) { _scroll.move(0, st::replyHeight); + _reportSpamPanel.move(0, st::replyHeight); _attachMention.setBoundings(_scroll.geometry()); } _pinnedBar->cancel.move(width() - _pinnedBar->cancel.width(), 0); _pinnedBar->shadow.setGeometry(0, st::replyHeight, width(), st::lineWidth); } else if (_scroll.y() != 0) { _scroll.move(0, 0); + _reportSpamPanel.move(0, 0); _attachMention.setBoundings(_scroll.geometry()); }