mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Allow topic deletion.
This commit is contained in:
@@ -988,7 +988,7 @@ TopBar::TopBar(
|
||||
ActivateClickHandler(_about, handler, {
|
||||
button,
|
||||
QVariant::fromValue(ClickHandlerContext{
|
||||
.sessionWindow = base::make_weak(controller.get()),
|
||||
.sessionWindow = base::make_weak(controller),
|
||||
.botStartAutoSubmit = true,
|
||||
})
|
||||
});
|
||||
@@ -1795,7 +1795,7 @@ not_null<Ui::GradientButton*> CreateSubscribeButton(
|
||||
UrlClickHandler::Open(
|
||||
local,
|
||||
QVariant::fromValue(ClickHandlerContext{
|
||||
.sessionWindow = base::make_weak(controller.get()),
|
||||
.sessionWindow = base::make_weak(controller),
|
||||
.botStartAutoSubmit = true,
|
||||
}));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user