diff options
author | fiaxh <git@lightrise.org> | 2022-02-08 17:45:57 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-02-08 17:52:30 +0100 |
commit | 408406e652bf7450d91661dcdd38be767c7faacd (patch) | |
tree | e79a69e673daa54c9bd95d26831c781a0861d86a /main/src/ui/notifier_freedesktop.vala | |
parent | 3088879a7b35fede494ca3a8b961a0142f36593a (diff) | |
download | dino-408406e652bf7450d91661dcdd38be767c7faacd.tar.gz dino-408406e652bf7450d91661dcdd38be767c7faacd.zip |
Let call notification say if it's a group call
Diffstat (limited to 'main/src/ui/notifier_freedesktop.vala')
-rw-r--r-- | main/src/ui/notifier_freedesktop.vala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/src/ui/notifier_freedesktop.vala b/main/src/ui/notifier_freedesktop.vala index 17de0ce9..b6b31d34 100644 --- a/main/src/ui/notifier_freedesktop.vala +++ b/main/src/ui/notifier_freedesktop.vala @@ -107,10 +107,13 @@ public class Dino.Ui.FreeDesktopNotifier : NotificationProvider, Object { } } - public async void notify_call(Call call, Conversation conversation, bool video, string conversation_display_name) { + public async void notify_call(Call call, Conversation conversation, bool video, bool multiparty, 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"); + if (multiparty) { + body = video ? _("Incoming video group call") : _("Incoming group call"); + } HashTable<string, Variant> hash_table = new HashTable<string, Variant>(null, null); hash_table["image-path"] = "call-start-symbolic"; |