added patience note for sharee

note about incoming transfer taken out by background job

resolves #18272

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
This commit is contained in:
Sascha Wiswedel 2019-12-09 12:18:06 +01:00 committed by Roeland Jago Douma
parent a64b5de491
commit 6a6b6dd1a4
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class Notifier implements INotifier, IDismissableNotifier {
]) ])
->setParsedSubject(str_replace('{user}', $param['sourceUser'], $l->t('Incoming ownership transfer from {user}'))) ->setParsedSubject(str_replace('{user}', $param['sourceUser'], $l->t('Incoming ownership transfer from {user}')))
->setRichMessage( ->setRichMessage(
$l->t('Do you want to accept {path}?'), $l->t('Do you want to accept {path}? Note: The transfer process after accepting may take up to 1 hour.'),
[ [
'path' => [ 'path' => [
'type' => 'highlight', 'type' => 'highlight',
@ -160,7 +160,7 @@ class Notifier implements INotifier, IDismissableNotifier {
'name' => $param['nodeName'], 'name' => $param['nodeName'],
] ]
]) ])
->setParsedMessage(str_replace('{path}', $param['nodeName'], $l->t('Do you want to accept {path}?'))); ->setParsedMessage(str_replace('{path}', $param['nodeName'], $l->t('Do you want to accept {path}? Note: The transfer process after accepting may take up to 1 hour.')));
return $notification; return $notification;
} }