mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Ensure freedesktop capabilities aren't used when GNotification is used
This commit is contained in:
parent
a1f9b5a96f
commit
9b154b3c91
1 changed files with 5 additions and 0 deletions
|
@ -834,6 +834,11 @@ bool Enforced() {
|
|||
}
|
||||
|
||||
bool ByDefault() {
|
||||
// The capabilities are static, equivalent to 'body' and 'actions' only
|
||||
if (UseGNotification()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// A list of capabilities that offer feature parity
|
||||
// with custom notifications
|
||||
static const auto NeededCapabilities = {
|
||||
|
|
Loading…
Add table
Reference in a new issue