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:
Christian Hesse 2019-11-12 23:36:00 +01:00 committed by John Preston
parent 3b1fd9e45a
commit 0c0c8f3584
1 changed files with 2 additions and 1 deletions

View File

@ -371,7 +371,8 @@ void Manager::Private::init(Manager *manager) {
LOG(("LibNotify capabilities: %1").arg(_capabilities.join(qstr(", "))));
if (_capabilities.contains(qsl("actions"))) {
_actionsSupported = true;
} else if (_capabilities.contains(qsl("body-markup"))) {
}
if (_capabilities.contains(qsl("body-markup"))) {
_markupSupported = true;
}
} else {