mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support [inputN|n]otifyBroadcasts setting.
This commit is contained in:
@@ -416,6 +416,7 @@ public:
|
||||
bool notifySettingsUnknown(not_null<const PeerData*> peer) const;
|
||||
rpl::producer<> defaultUserNotifyUpdates() const;
|
||||
rpl::producer<> defaultChatNotifyUpdates() const;
|
||||
rpl::producer<> defaultBroadcastNotifyUpdates() const;
|
||||
rpl::producer<> defaultNotifyUpdates(
|
||||
not_null<const PeerData*> peer) const;
|
||||
|
||||
@@ -641,8 +642,10 @@ private:
|
||||
|
||||
NotifySettings _defaultUserNotifySettings;
|
||||
NotifySettings _defaultChatNotifySettings;
|
||||
NotifySettings _defaultBroadcastNotifySettings;
|
||||
rpl::event_stream<> _defaultUserNotifyUpdates;
|
||||
rpl::event_stream<> _defaultChatNotifyUpdates;
|
||||
rpl::event_stream<> _defaultBroadcastNotifyUpdates;
|
||||
std::unordered_set<not_null<const PeerData*>> _mutedPeers;
|
||||
base::Timer _unmuteByFinishedTimer;
|
||||
|
||||
|
Reference in New Issue
Block a user