aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/notifier_gnotifications.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/notifier_gnotifications.vala')
-rw-r--r--main/src/ui/notifier_gnotifications.vala7
1 files changed, 5 insertions, 2 deletions
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);