mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix crash in subscribe button.
This commit is contained in:
@@ -1783,7 +1783,7 @@ not_null<Ui::GradientButton*> CreateSubscribeButton(
|
||||
controller = args.controller,
|
||||
computeRef = args.computeRef,
|
||||
computeBotUrl = args.computeBotUrl] {
|
||||
const auto url = computeBotUrl ? QString() : computeBotUrl();
|
||||
const auto url = computeBotUrl ? computeBotUrl() : QString();
|
||||
if (!url.isEmpty()) {
|
||||
const auto local = Core::TryConvertUrlToLocal(url);
|
||||
if (local.isEmpty()) {
|
||||
|
Reference in New Issue
Block a user