mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
@@ -42,6 +42,7 @@ namespace {
|
|||||||
.durationMs = Ui::Toast::kDefaultDuration * 2,
|
.durationMs = Ui::Toast::kDefaultDuration * 2,
|
||||||
.multiline = true,
|
.multiline = true,
|
||||||
};
|
};
|
||||||
|
if (history->peer->canWrite()) {
|
||||||
auto link = Ui::Text::Link(
|
auto link = Ui::Text::Link(
|
||||||
tr::lng_about_random_send(tr::now).toUpper());
|
tr::lng_about_random_send(tr::now).toUpper());
|
||||||
link.entities.push_back(
|
link.entities.push_back(
|
||||||
@@ -58,6 +59,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
}
|
||||||
Ui::Toast::Show(config);
|
Ui::Toast::Show(config);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user