diff options
author | fiaxh <git@lightrise.org> | 2021-11-04 17:35:11 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-11-10 11:05:34 +0100 |
commit | 3dc4d7f1558bb574eb99dade9a05727604e2e2ca (patch) | |
tree | a936dede1f2f41a27d7931ee7f668ef85deaa93b /main/src/ui/notifier_freedesktop.vala | |
parent | 26d10d1dcb95f11b65611473c9840e13683cb5ec (diff) | |
download | dino-3dc4d7f1558bb574eb99dade9a05727604e2e2ca.tar.gz dino-3dc4d7f1558bb574eb99dade9a05727604e2e2ca.zip |
Add (disabled) multi-party call UI
Diffstat (limited to 'main/src/ui/notifier_freedesktop.vala')
-rw-r--r-- | main/src/ui/notifier_freedesktop.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/ui/notifier_freedesktop.vala b/main/src/ui/notifier_freedesktop.vala index 48313be3..83e9bf57 100644 --- a/main/src/ui/notifier_freedesktop.vala +++ b/main/src/ui/notifier_freedesktop.vala @@ -123,6 +123,7 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { } public async void notify_call(Call call, Conversation conversation, bool video, string conversation_display_name) { + debug("[%s] Call notification", call.account.bare_jid.to_string()); string summary = Markup.escape_text(conversation_display_name); string body = video ? _("Incoming video call") : _("Incoming call"); @@ -140,7 +141,7 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { GLib.Application.get_default().activate_action("open-conversation", new Variant.int32(conversation.id)); }); add_action_listener(notification_id, "reject", () => { - GLib.Application.get_default().activate_action("deny-call", new Variant.int32(call.id)); + GLib.Application.get_default().activate_action("reject-call", new Variant.int32(call.id)); }); add_action_listener(notification_id, "accept", () => { GLib.Application.get_default().activate_action("accept-call", new Variant.int32(call.id)); |