mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Move to std::optional.
This commit is contained in:
@@ -1842,8 +1842,8 @@ void Session::applyNotifySetting(
|
||||
|
||||
void Session::updateNotifySettings(
|
||||
not_null<PeerData*> peer,
|
||||
base::optional<int> muteForSeconds,
|
||||
base::optional<bool> silentPosts) {
|
||||
std::optional<int> muteForSeconds,
|
||||
std::optional<bool> silentPosts) {
|
||||
if (peer->notifyChange(muteForSeconds, silentPosts)) {
|
||||
updateNotifySettingsLocal(peer);
|
||||
_session->api().updateNotifySettingsDelayed(peer);
|
||||
|
||||
Reference in New Issue
Block a user