mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Moved out top promo from api and suggestions from config to single file.
This commit is contained in:
@@ -48,11 +48,6 @@ public:
|
||||
[[nodiscard]] rpl::producer<> refreshed() const;
|
||||
[[nodiscard]] rpl::producer<> value() const;
|
||||
|
||||
[[nodiscard]] bool suggestionCurrent(const QString &key) const;
|
||||
[[nodiscard]] rpl::producer<> suggestionRequested(
|
||||
const QString &key) const;
|
||||
void dismissSuggestion(const QString &key);
|
||||
|
||||
[[nodiscard]] bool newRequirePremiumFree() const;
|
||||
|
||||
[[nodiscard]] auto ignoredRestrictionReasons() const
|
||||
@@ -125,7 +120,6 @@ private:
|
||||
bool _pendingRefresh = false;
|
||||
base::flat_map<QString, MTPJSONValue> _data;
|
||||
rpl::event_stream<> _refreshed;
|
||||
base::flat_set<QString> _dismissedSuggestions;
|
||||
|
||||
std::vector<QString> _ignoreRestrictionReasons;
|
||||
rpl::event_stream<std::vector<QString>> _ignoreRestrictionChanges;
|
||||
|
Reference in New Issue
Block a user