Fix comment mention subject

fixes #649

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-16 10:16:30 +02:00
committed by GitHub
parent 8bf3aed9a7
commit 0a4a58cddc

View File

@@ -115,10 +115,10 @@ class Notifier implements INotifier {
$dn = $params[2];
}
$notification->setParsedSubject(
(string) $l->t('%s has mentioned in a comment on "%s".', [$dn, $params[0]])
(string) $l->t('%s has mentioned you in a comment on "%s".', [$dn, $params[0]])
);
$notification->setRichSubject(
(string) $l->t('{user} has mentioned in a comment on "%s".', [$params[0]]),
(string) $l->t('{user} has mentioned you in a comment on "%s".', [$params[0]]),
[
'user' => [
'type' => 'user',