mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-13 23:13:32 +00:00
Ensure freedesktop capabilities aren't used when GNotification is used
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user