2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Better special config implementation.

This commit is contained in:
John Preston
2018-05-02 22:27:03 +03:00
parent 95fee543ec
commit 4bf66cb6e9
12 changed files with 200 additions and 85 deletions

View File

@@ -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) {