mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
libnotify: capabilities are not exclusive
Capabilities "actions" and "body-markup" can be available at the same time. Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
3b1fd9e45a
commit
0c0c8f3584
1 changed files with 2 additions and 1 deletions
|
@ -371,7 +371,8 @@ void Manager::Private::init(Manager *manager) {
|
||||||
LOG(("LibNotify capabilities: %1").arg(_capabilities.join(qstr(", "))));
|
LOG(("LibNotify capabilities: %1").arg(_capabilities.join(qstr(", "))));
|
||||||
if (_capabilities.contains(qsl("actions"))) {
|
if (_capabilities.contains(qsl("actions"))) {
|
||||||
_actionsSupported = true;
|
_actionsSupported = true;
|
||||||
} else if (_capabilities.contains(qsl("body-markup"))) {
|
}
|
||||||
|
if (_capabilities.contains(qsl("body-markup"))) {
|
||||||
_markupSupported = true;
|
_markupSupported = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue