mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Removed username from public data members of UserData.
This commit is contained in:
@@ -148,7 +148,7 @@ not_null<Ui::RpWidget*> PanelForm::setupContent() {
|
||||
auto text = policyUrl.isEmpty()
|
||||
? tr::lng_passport_allow(
|
||||
lt_bot,
|
||||
rpl::single('@' + bot->username)
|
||||
rpl::single('@' + bot->username())
|
||||
) | Ui::Text::ToWithEntities()
|
||||
: tr::lng_passport_accept_allow(
|
||||
lt_policy,
|
||||
@@ -157,7 +157,7 @@ not_null<Ui::RpWidget*> PanelForm::setupContent() {
|
||||
rpl::single(bot->name())
|
||||
) | Ui::Text::ToLink(policyUrl),
|
||||
lt_bot,
|
||||
rpl::single('@' + bot->username) | Ui::Text::ToWithEntities(),
|
||||
rpl::single('@' + bot->username()) | Ui::Text::ToWithEntities(),
|
||||
Ui::Text::WithEntities);
|
||||
const auto policy = inner->add(
|
||||
object_ptr<Ui::FlatLabel>(
|
||||
|
||||
Reference in New Issue
Block a user