mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix unrelated stories on top.
This commit is contained in:
@@ -121,6 +121,7 @@ enum class UserDataFlag : uint32 {
|
||||
HasStarsPerMessage = (1 << 23),
|
||||
MessageMoneyRestrictionsKnown = (1 << 24),
|
||||
ReadDatesPrivate = (1 << 25),
|
||||
StoriesCorrespondent = (1 << 26),
|
||||
};
|
||||
inline constexpr bool is_flag_type(UserDataFlag) { return true; };
|
||||
using UserDataFlags = base::flags<UserDataFlag>;
|
||||
@@ -188,6 +189,9 @@ public:
|
||||
[[nodiscard]] bool canSendIgnoreMoneyRestrictions() const;
|
||||
[[nodiscard]] bool readDatesPrivate() const;
|
||||
|
||||
void setStoriesCorrespondent(bool is);
|
||||
[[nodiscard]] bool storiesCorrespondent() const;
|
||||
|
||||
void setStarsPerMessage(int stars);
|
||||
[[nodiscard]] int starsPerMessage() const;
|
||||
|
||||
|
Reference in New Issue
Block a user