diff options
author | Joas Schilling <coding@schilljs.com> | 2023-03-13 10:48:03 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-03-13 11:16:05 +0100 |
commit | 8d8b09ba9644b5953fc691a9bedbfa6bb644b687 (patch) | |
tree | 46ebd0228d728bf9f5373733b10787c8b9d62897 /lib/Notification/Notifier.php | |
parent | 3e770939bf38a37350e71fc4d820bbfd3cf7855c (diff) |
fix(notifications): Only send reply notification when also mentioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r-- | lib/Notification/Notifier.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 5480d9393..f59cfb143 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -621,7 +621,7 @@ class Notifier implements INotifier { 'name' => $groupName, ]; - $subject = $l->t('{user} mentioned {group} in conversation {call}'); + $subject = $l->t('{user} mentioned group {group} in conversation {call}'); } elseif ($notification->getSubject() === 'mention_all') { $subject = $l->t('{user} mentioned everyone in conversation {call}'); } else { @@ -636,7 +636,7 @@ class Notifier implements INotifier { 'name' => $groupName, ]; - $subject = $l->t('A deleted user mentioned {group} in conversation {call}'); + $subject = $l->t('A deleted user mentioned group {group} in conversation {call}'); } elseif ($notification->getSubject() === 'mention_all') { $subject = $l->t('A deleted user mentioned everyone in conversation {call}'); } else { @@ -653,7 +653,7 @@ class Notifier implements INotifier { 'name' => $groupName, ]; - $subject = $l->t('{guest} (guest) mentioned {group} in conversation {call}'); + $subject = $l->t('{guest} (guest) mentioned group {group} in conversation {call}'); } elseif ($notification->getSubject() === 'mention_all') { $subject = $l->t('{guest} (guest) mentioned everyone in conversation {call}'); } else { @@ -668,7 +668,7 @@ class Notifier implements INotifier { 'name' => $groupName, ]; - $subject = $l->t('A guest mentioned {group} in conversation {call}'); + $subject = $l->t('A guest mentioned group {group} in conversation {call}'); } elseif ($notification->getSubject() === 'mention_all') { $subject = $l->t('A guest mentioned everyone in conversation {call}'); } else { |