mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow editing general notification sound.
This commit is contained in:
@@ -172,7 +172,7 @@ rpl::producer<bool> NotificationsEnabledValue(not_null<PeerData*> peer) {
|
||||
peer,
|
||||
UpdateFlag::Notifications
|
||||
) | rpl::to_empty,
|
||||
peer->owner().notifySettings().defaultNotifyUpdates(peer)
|
||||
peer->owner().notifySettings().defaultUpdates(peer)
|
||||
) | rpl::map([=] {
|
||||
return !peer->owner().notifySettings().isMuted(peer);
|
||||
}) | rpl::distinct_until_changed();
|
||||
|
Reference in New Issue
Block a user