2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Unify legacy and megagroups information edit.

This commit is contained in:
John Preston
2019-01-08 17:57:22 +04:00
parent ff728e2fc1
commit 18c6be0d3b
28 changed files with 273 additions and 759 deletions

View File

@@ -381,6 +381,15 @@ void PeerData::setPinnedMessageId(MsgId messageId) {
}
}
bool PeerData::setAbout(const QString &newAbout) {
if (_about == newAbout) {
return false;
}
_about = newAbout;
Notify::peerUpdatedDelayed(this, UpdateFlag::AboutChanged);
return true;
}
void PeerData::fillNames() {
_nameWords.clear();
_nameFirstLetters.clear();