2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Pass reply info to Window::PeerMenu.

This commit is contained in:
John Preston
2020-11-11 23:47:40 +03:00
parent 4f22171dd6
commit 4a8b59b788
17 changed files with 236 additions and 197 deletions

View File

@@ -523,8 +523,10 @@ void Widget::refreshFolderTopBar() {
updateControlsGeometry();
}
_folderTopBar->setActiveChat(
_openedFolder,
HistoryView::TopBarWidget::Section::History,
HistoryView::TopBarWidget::ActiveChat{
.key = _openedFolder,
.section = HistoryView::TopBarWidget::Section::Dialogs,
},
nullptr);
} else {
_folderTopBar.destroy();