mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Move to std::optional.
This commit is contained in:
@@ -396,8 +396,8 @@ public:
|
||||
const MTPPeerNotifySettings &settings);
|
||||
void updateNotifySettings(
|
||||
not_null<PeerData*> peer,
|
||||
base::optional<int> muteForSeconds,
|
||||
base::optional<bool> silentPosts = base::none);
|
||||
std::optional<int> muteForSeconds,
|
||||
std::optional<bool> silentPosts = std::nullopt);
|
||||
bool notifyIsMuted(
|
||||
not_null<const PeerData*> peer,
|
||||
TimeMs *changesIn = nullptr) const;
|
||||
|
Reference in New Issue
Block a user