mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Better special config implementation.
This commit is contained in:
@@ -435,7 +435,11 @@ void UserData::setName(const QString &newFirstName, const QString &newLastName,
|
||||
}
|
||||
|
||||
void UserData::setPhone(const QString &newPhone) {
|
||||
_phone = newPhone;
|
||||
if (_phone != newPhone) {
|
||||
_phone = newPhone;
|
||||
if (bareId() == Auth().userId()) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void UserData::setBotInfoVersion(int version) {
|
||||
|
Reference in New Issue
Block a user