mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Implement suggested profile photo message.
This commit is contained in:
@@ -298,6 +298,10 @@ bool UserData::applyMinPhoto() const {
|
||||
return !(flags() & UserDataFlag::DiscardMinPhoto);
|
||||
}
|
||||
|
||||
bool UserData::hasPersonalPhoto() const {
|
||||
return (flags() & UserDataFlag::PersonalPhoto);
|
||||
}
|
||||
|
||||
bool UserData::canAddContact() const {
|
||||
return canShareThisContact() && !isContact();
|
||||
}
|
||||
|
Reference in New Issue
Block a user