mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-03 18:49:30 +00:00
Fix build with GCC.
This commit is contained in:
@@ -106,9 +106,6 @@ bool NotifyPeerSettingsValue::change(
|
||||
std::optional<bool> silentPosts,
|
||||
std::optional<NotifySound> sound) {
|
||||
const auto now = base::unixtime::now();
|
||||
const auto notMuted = muteForSeconds
|
||||
? !(*muteForSeconds)
|
||||
: (!_mute || *_mute <= now);
|
||||
const auto newMute = muteForSeconds
|
||||
? base::make_optional((*muteForSeconds > 0)
|
||||
? (now + *muteForSeconds)
|
||||
|
||||
Reference in New Issue
Block a user