2
0
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:
John Preston
2024-08-14 15:17:59 +02:00
parent 074dbf41e0
commit b9de12fedb
35 changed files with 711 additions and 299 deletions

View File

@@ -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;