From 071d925e370b2238a9804733a484fe4ec9432f44 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 19 Jan 2022 16:54:56 +0100 Subject: Add support for call invite messages As of https://github.com/xsf/xeps/pull/1155 --- main/src/ui/notifier_freedesktop.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src') diff --git a/main/src/ui/notifier_freedesktop.vala b/main/src/ui/notifier_freedesktop.vala index dfc5b28b..17de0ce9 100644 --- a/main/src/ui/notifier_freedesktop.vala +++ b/main/src/ui/notifier_freedesktop.vala @@ -267,7 +267,7 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { if (content_notifications != null) { foreach (uint32 id in content_notifications.values) { try { - yield dbus_notifications.close_notification(id); + dbus_notifications.close_notification.begin(id); } catch (Error e) { } } content_notifications.clear(); @@ -277,7 +277,7 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { public async void retract_conversation_notifications(Conversation conversation) { if (content_notifications.has_key(conversation)) { try { - yield dbus_notifications.close_notification(content_notifications[conversation]); + dbus_notifications.close_notification.begin(content_notifications[conversation]); } catch (Error e) { } } content_notifications.unset(conversation); -- cgit v1.2.3-70-g09d2