mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Set name / phone texts on-demand.
This commit is contained in:
@@ -165,13 +165,7 @@ void UserData::setBotInfo(const MTPBotInfo &info) {
|
||||
}
|
||||
|
||||
void UserData::setNameOrPhone(const QString &newNameOrPhone) {
|
||||
if (nameOrPhone != newNameOrPhone) {
|
||||
nameOrPhone = newNameOrPhone;
|
||||
phoneText.setText(
|
||||
st::msgNameStyle,
|
||||
nameOrPhone,
|
||||
Ui::NameTextOptions());
|
||||
}
|
||||
nameOrPhone = newNameOrPhone;
|
||||
}
|
||||
|
||||
void UserData::madeAction(TimeId when) {
|
||||
|
Reference in New Issue
Block a user