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
path: root/lib
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 12:47:06 +0300
commit4b7c1405dfd3673d81018638e50e264aabe6c8c4 (patch)
tree23fbf582bf24c5c4ee03d22a2da9ce1bf7f4c867 /lib
parent39ee28be76c096a61c927d029e436e1b8f8b4991 (diff)
New line as information seperator
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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 385a3d843..e0c828956 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -341,17 +341,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') {