Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Danic <mario@lovelyhq.com>2018-06-18 22:00:54 +0300
committerJoas Schilling <coding@schilljs.com>2018-08-09 13:43:26 +0300
commitf425276bc097727912a59bc37226609af9a48500 (patch)
treeec6544eb4dc646caae0dea1e8f36313f72b5623a /lib/Notification/Notifier.php
parent741c1070ae5ec1147862496f8f5cb16d62e32eae (diff)
Fix missing call-type in groups with no name
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r--lib/Notification/Notifier.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index e1e60bdda..930d0728f 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -425,7 +425,14 @@ class Notifier implements INotifier {
} else {
$notification
->setParsedSubject($l->t('A group call has started'))
- ->setRichSubject($l->t('A group call has started'));
+ ->setRichSubject($l->t('A group call has started'), [
+ 'call' => [
+ 'type' => 'call',
+ 'id' => $room->getId(),
+ 'name' => $l->t('a conversation'),
+ 'call-type' => $this->getRoomType($room),
+ ],
+ ]);
}
} else {