mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Refactor NotifySettings in PeerData.
This commit is contained in:
@@ -127,7 +127,8 @@ rpl::producer<bool> NotificationsEnabledValue(
|
||||
return Notify::PeerUpdateValue(
|
||||
peer,
|
||||
Notify::PeerUpdate::Flag::NotificationsEnabled)
|
||||
| rpl::map([peer] { return !peer->isMuted(); });
|
||||
| rpl::map([peer] { return !peer->isMuted(); })
|
||||
| rpl::distinct_until_changed();
|
||||
}
|
||||
|
||||
rpl::producer<bool> IsContactValue(
|
||||
|
Reference in New Issue
Block a user