aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-01-19 16:54:56 +0100
committerfiaxh <git@lightrise.org>2022-02-07 01:21:11 +0100
commit071d925e370b2238a9804733a484fe4ec9432f44 (patch)
treecd1fba934d8a7f88df771c1df6fa1a3b3fdcd26a /main
parent4ef50db3e581016365087759d5af8649e37ab8a7 (diff)
downloaddino-071d925e370b2238a9804733a484fe4ec9432f44.tar.gz
dino-071d925e370b2238a9804733a484fe4ec9432f44.zip
Add support for call invite messages
As of https://github.com/xsf/xeps/pull/1155
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/notifier_freedesktop.vala4
1 files changed, 2 insertions, 2 deletions
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);