mirror of
https://github.com/friendica/friendica
synced 2025-01-03 20:02:19 +00:00
Change email subject to "(...)like in conversation(...)" for likes instead of "(...)new comment(...)"
This commit is contained in:
parent
520cb824ec
commit
82eec270fa
1 changed files with 7 additions and 1 deletions
|
@ -783,8 +783,14 @@ class Notify extends BaseRepository
|
|||
$subject = $l10n->t('%s %s shared a new post', $subjectPrefix, $contact['name']);
|
||||
} else {
|
||||
$params['type'] = Model\Notification\Type::COMMENT;
|
||||
if ($params['verb'] = Activity::LIKE) {
|
||||
$subject = $l10n->t('%1$s Like in conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
} else {
|
||||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$msg = $this->notification->getMessageFromNotification($Notification);
|
||||
if (empty($msg)) {
|
||||
|
|
Loading…
Reference in a new issue