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

Subscription status display.

This commit is contained in:
John Preston
2022-05-31 21:11:59 +04:00
parent 1d7e901b7a
commit de31c1cf0c
16 changed files with 221 additions and 43 deletions

View File

@@ -71,6 +71,7 @@ class ChatParticipants;
class UnreadThings;
class Ringtones;
class Transcribes;
class Premium;
namespace details {
@@ -363,6 +364,7 @@ public:
[[nodiscard]] Api::UnreadThings &unreadThings();
[[nodiscard]] Api::Ringtones &ringtones();
[[nodiscard]] Api::Transcribes &transcribes();
[[nodiscard]] Api::Premium &premium();
void updatePrivacyLastSeens();
@@ -647,6 +649,7 @@ private:
const std::unique_ptr<Api::UnreadThings> _unreadThings;
const std::unique_ptr<Api::Ringtones> _ringtones;
const std::unique_ptr<Api::Transcribes> _transcribes;
const std::unique_ptr<Api::Premium> _premium;
mtpRequestId _wallPaperRequestId = 0;
QString _wallPaperSlug;