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

Add FileSizeLimitBox and pass "ref" to premium payment.

This commit is contained in:
John Preston
2022-05-23 18:46:15 +04:00
parent 62f42eabb0
commit d1907083ed
20 changed files with 211 additions and 350 deletions

View File

@@ -503,6 +503,9 @@ public:
return *_cachedReactionIconFactory;
}
void setPremiumRef(const QString &ref);
[[nodiscard]] QString premiumRef() const;
rpl::lifetime &lifetime() {
return _lifetime;
}
@@ -590,6 +593,8 @@ private:
using ReactionIconFactory = HistoryView::Reactions::CachedIconFactory;
std::unique_ptr<ReactionIconFactory> _cachedReactionIconFactory;
QString _premiumRef;
rpl::lifetime _lifetime;
};