mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Pass reply info to Window::PeerMenu.
This commit is contained in:
@@ -577,10 +577,11 @@ void WrapWidget::showTopBarMenu() {
|
||||
if (const auto peer = key().peer()) {
|
||||
Window::FillPeerMenu(
|
||||
_controller->parentController(),
|
||||
peer,
|
||||
FilterId(),
|
||||
addAction,
|
||||
Window::PeerMenuSource::Profile);
|
||||
Window::PeerMenuRequest{
|
||||
.peer = peer,
|
||||
.source = Window::PeerMenuRequest::Source::Profile,
|
||||
},
|
||||
addAction);
|
||||
//} else if (const auto feed = key().feed()) { // #feed
|
||||
// Window::FillFeedMenu(
|
||||
// _controller->parentController(),
|
||||
|
Reference in New Issue
Block a user