mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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