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:
authorJoas Schilling <coding@schilljs.com>2020-06-26 11:34:20 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-26 11:34:20 +0300
commita5ec81e6744c8b5ee71aded34d254a2f83176ee0 (patch)
tree9cd3b9b7583c6857e06cb1b3161543aa92aa1dbc /lib/Notification/Notifier.php
parent5900f65ac76c767b541a8004ce332028eff71a55 (diff)
New line as information seperator
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r--lib/Notification/Notifier.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index c3113e413..4f2a26bd9 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -345,17 +345,17 @@ class Notifier implements INotifier {
'name' => $shortenMessage,
];
if ($room->getType() === Room::ONE_TO_ONE_CALL) {
- $subject = $l->t('{user}: {message}');
+ $subject = "{user}\n{message}";
} elseif ($richSubjectUser) {
- $subject = $l->t('{user} in {call}: {message}');
+ $subject = $l->t('{user} in {call}') . "\n{message}";
} elseif (!$isGuest) {
- $subject = $l->t('Deleted user in {call}: {message}');
+ $subject = $l->t('Deleted user in {call}') . "\n{message}";
} else {
try {
$richSubjectParameters['guest'] = $this->getGuestParameter($comment->getActorId());
- $subject = $l->t('{guest} (guest) in {call}: {message}');
+ $subject = $l->t('{guest} (guest) in {call}') . "\n{message}";
} catch (ParticipantNotFoundException $e) {
- $subject = $l->t('Guest in {call}: {message}');
+ $subject = $l->t('Guest in {call}') . "\n{message}";
}
}
} elseif ($notification->getSubject() === 'chat') {