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

Start hiding stories from chats list.

This commit is contained in:
John Preston
2023-06-02 13:20:27 +04:00
parent 17a5c27658
commit d0e1ac1238
8 changed files with 97 additions and 4 deletions

View File

@@ -321,6 +321,10 @@ bool UserData::hasPersonalPhoto() const {
return (flags() & UserDataFlag::PersonalPhoto);
}
bool UserData::hasStoriesHidden() const {
return (flags() & UserDataFlag::StoriesHidden);
}
bool UserData::canAddContact() const {
return canShareThisContact() && !isContact();
}