mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Unify legacy and megagroups information edit.
This commit is contained in:
@@ -82,15 +82,6 @@ void UserData::setPhoto(const MTPUserProfilePhoto &photo) {
|
||||
}
|
||||
}
|
||||
|
||||
bool UserData::setAbout(const QString &newAbout) {
|
||||
if (_about == newAbout) {
|
||||
return false;
|
||||
}
|
||||
_about = newAbout;
|
||||
Notify::peerUpdatedDelayed(this, UpdateFlag::AboutChanged);
|
||||
return true;
|
||||
}
|
||||
|
||||
QString UserData::unavailableReason() const {
|
||||
return _unavailableReason;
|
||||
}
|
||||
|
Reference in New Issue
Block a user