mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-30 11:45:08 +00:00
parent
9dc48522d8
commit
0d415837a0
@ -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<Ui::FeedUserpicButton>(
|
||||
this,
|
||||
_controller,
|
||||
|
Loading…
Reference in New Issue
Block a user