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:
@@ -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;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user