mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show tdesktop cloud themes in a box.
This commit is contained in:
@@ -126,7 +126,7 @@ ApiWrap::RequestMessageDataCallback replyEditMessageDataCallback() {
|
||||
}
|
||||
|
||||
void ActivateWindow(not_null<Window::SessionController*> controller) {
|
||||
const auto window = controller->window();
|
||||
const auto window = controller->widget();
|
||||
window->activateWindow();
|
||||
Core::App().activateWindowDelayed(window);
|
||||
}
|
||||
@@ -1749,7 +1749,7 @@ void HistoryWidget::showHistory(
|
||||
_channel = peerToChannel(_peer->id);
|
||||
_canSendMessages = _peer->canWrite();
|
||||
_contactStatus = std::make_unique<HistoryView::ContactStatus>(
|
||||
&controller()->window()->controller(),
|
||||
&controller()->window(),
|
||||
this,
|
||||
_peer);
|
||||
_contactStatus->heightValue() | rpl::start_with_next([=] {
|
||||
|
Reference in New Issue
Block a user