mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Added new Changes flag for user notes.
This commit is contained in:
@@ -770,7 +770,10 @@ const TextWithEntities &UserData::note() const {
|
||||
}
|
||||
|
||||
void UserData::setNote(const TextWithEntities ¬e) {
|
||||
_note = note;
|
||||
if (_note != note) {
|
||||
_note = note;
|
||||
session().changes().peerUpdated(this, UpdateFlag::ContactNote);
|
||||
}
|
||||
}
|
||||
|
||||
namespace Data {
|
||||
|
||||
Reference in New Issue
Block a user