From 0c0c8f3584b500ef053bb1a4d9165cdbd9e18394 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 12 Nov 2019 23:36:00 +0100 Subject: [PATCH] libnotify: capabilities are not exclusive Capabilities "actions" and "body-markup" can be available at the same time. Signed-off-by: Christian Hesse --- .../SourceFiles/platform/linux/notifications_manager_linux.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index 0248e9152..cfba893de 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -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 {