diff options
author | Mario Danic <mario@lovelyhq.com> | 2018-06-18 22:00:54 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-08-09 13:43:26 +0300 |
commit | f425276bc097727912a59bc37226609af9a48500 (patch) | |
tree | ec6544eb4dc646caae0dea1e8f36313f72b5623a /lib/Notification/Notifier.php | |
parent | 741c1070ae5ec1147862496f8f5cb16d62e32eae (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.php | 9 |
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 { |