mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Use HasCapability directly as an argument to ranges::all_of
This commit is contained in:
parent
dba9cada83
commit
c9d58d4259
1 changed files with 1 additions and 3 deletions
|
@ -624,9 +624,7 @@ bool ByDefault() {
|
|||
// To not to play sound with Don't Disturb activated
|
||||
// (no, using sound capability is not a way)
|
||||
"inhibitions",
|
||||
}, [](const auto *capability) {
|
||||
return HasCapability(capability);
|
||||
});
|
||||
}, HasCapability);
|
||||
}
|
||||
|
||||
void Create(Window::Notifications::System *system) {
|
||||
|
|
Loading…
Add table
Reference in a new issue