From 408406e652bf7450d91661dcdd38be767c7faacd Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 8 Feb 2022 17:45:57 +0100 Subject: Let call notification say if it's a group call --- main/src/ui/notifier_gnotifications.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/src/ui/notifier_gnotifications.vala') diff --git a/main/src/ui/notifier_gnotifications.vala b/main/src/ui/notifier_gnotifications.vala index 665d47c4..d569a358 100644 --- a/main/src/ui/notifier_gnotifications.vala +++ b/main/src/ui/notifier_gnotifications.vala @@ -65,9 +65,12 @@ namespace Dino.Ui { } } - 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) { Notification notification = new Notification(conversation_display_name); - string body = _("Incoming call"); + string body = video ? _("Incoming video call") : _("Incoming call"); + if (multiparty) { + body = video ? _("Incoming video group call") : _("Incoming group call"); + } notification.set_body(body); notification.set_urgent(true); -- cgit v1.2.3-54-g00ecf