2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Set name / phone texts on-demand.

This commit is contained in:
John Preston
2022-08-09 14:12:19 +03:00
parent ceb7d5f238
commit 8bc807dc40
98 changed files with 426 additions and 260 deletions

View File

@@ -116,7 +116,7 @@ bool ChatData::anyoneCanAddMembers() const {
}
void ChatData::setName(const QString &newName) {
updateNameDelayed(newName.isEmpty() ? name : newName, QString(), QString());
updateNameDelayed(newName.isEmpty() ? name() : newName, {}, {});
}
void ChatData::applyEditAdmin(not_null<UserData*> user, bool isAdmin) {