Added new Changes flag for user notes.

This commit is contained in:
23rd
2025-10-02 10:31:46 +03:00
committed by John Preston
parent 028437549d
commit d36d5b2980
2 changed files with 21 additions and 17 deletions

View File

@@ -770,7 +770,10 @@ const TextWithEntities &UserData::note() const {
}
void UserData::setNote(const TextWithEntities &note) {
_note = note;
if (_note != note) {
_note = note;
session().changes().peerUpdated(this, UpdateFlag::ContactNote);
}
}
namespace Data {