2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Rename Story::pinned to Story::inProfile.

This commit is contained in:
John Preston
2024-04-16 14:23:53 +04:00
parent df16e7c00b
commit d33e3dc13a
10 changed files with 59 additions and 51 deletions

View File

@@ -153,8 +153,8 @@ public:
[[nodiscard]] Image *replyPreview() const;
[[nodiscard]] TextWithEntities inReplyText() const;
void setPinned(bool pinned);
[[nodiscard]] bool pinned() const;
void setInProfile(bool value);
[[nodiscard]] bool inProfile() const;
[[nodiscard]] StoryPrivacy privacy() const;
[[nodiscard]] bool forbidsForward() const;
[[nodiscard]] bool edited() const;
@@ -250,7 +250,7 @@ private:
const TimeId _expires = 0;
TimeId _lastUpdateTime = 0;
bool _out : 1 = false;
bool _pinned : 1 = false;
bool _inProfile : 1 = false;
bool _privacyPublic : 1 = false;
bool _privacyCloseFriends : 1 = false;
bool _privacyContacts : 1 = false;