diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 341cbda34..008b0dc23 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -386,8 +386,10 @@ void TopBarWidget::refreshInfoButton() { Ui::UserpicButton::Role::Custom, st::topBarInfoButton); info->showSavedMessagesOnSelf(true); + _info.destroy(); _info = std::move(info); } else if (const auto feed = _activeChat.feed()) { + _info.destroy(); _info = object_ptr( this, _controller,