2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Implement collectible username / phone info boxes.

This commit is contained in:
John Preston
2024-04-02 15:35:53 +04:00
parent 22f504ca21
commit 1061fb6c85
40 changed files with 630 additions and 75 deletions

View File

@@ -472,6 +472,10 @@ const std::vector<QString> &UserData::usernames() const {
return _username.usernames();
}
bool UserData::isUsernameEditable(QString username) const {
return _username.isEditable(username);
}
const QString &UserData::phone() const {
return _phone;
}