aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_content_view
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-02-08 17:45:57 +0100
committerfiaxh <git@lightrise.org>2022-02-08 17:52:30 +0100
commit408406e652bf7450d91661dcdd38be767c7faacd (patch)
treee79a69e673daa54c9bd95d26831c781a0861d86a /main/src/ui/conversation_content_view
parent3088879a7b35fede494ca3a8b961a0142f36593a (diff)
downloaddino-408406e652bf7450d91661dcdd38be767c7faacd.tar.gz
dino-408406e652bf7450d91661dcdd38be767c7faacd.zip
Let call notification say if it's a group call
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r--main/src/ui/conversation_content_view/call_widget.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/ui/conversation_content_view/call_widget.vala b/main/src/ui/conversation_content_view/call_widget.vala
index d9060872..e45792e2 100644
--- a/main/src/ui/conversation_content_view/call_widget.vala
+++ b/main/src/ui/conversation_content_view/call_widget.vala
@@ -124,7 +124,11 @@ namespace Dino.Ui {
image.set_from_icon_name("dino-phone-ring-symbolic", IconSize.LARGE_TOOLBAR);
if (call.direction == Call.DIRECTION_INCOMING) {
bool video = call_manager.should_we_send_video();
+
title_label.label = video ? _("Incoming video call") : _("Incoming call");
+ if (call_manager.invited_to_group_call != null) {
+ title_label.label = video ? _("Incoming video group call") : _("Incoming group call");
+ }
if (stream_interactor.get_module(Calls.IDENTITY).can_we_do_calls(call.account)) {
subtitle_label.label = "Ring ring…!";