mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support 18+/restrictions for messages.
This commit is contained in:
@@ -185,9 +185,6 @@ public:
|
||||
void setBirthday(Data::Birthday value);
|
||||
void setBirthday(const tl::conditional<MTPBirthday> &value);
|
||||
|
||||
void setUnavailableReasons(
|
||||
std::vector<Data::UnavailableReason> &&reasons);
|
||||
|
||||
int commonChatsCount() const;
|
||||
void setCommonChatsCount(int count);
|
||||
|
||||
@@ -218,6 +215,9 @@ private:
|
||||
auto unavailableReasons() const
|
||||
-> const std::vector<Data::UnavailableReason> & override;
|
||||
|
||||
void setUnavailableReasonsList(
|
||||
std::vector<Data::UnavailableReason> &&reasons) override;
|
||||
|
||||
Flags _flags;
|
||||
Data::LastseenStatus _lastseen;
|
||||
Data::Birthday _birthday;
|
||||
|
Reference in New Issue
Block a user