aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-19 11:08:13 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-03-19 11:19:36 +0000
commit846ca765b9710c54b057c55b67dae615a9b375d7 (patch)
treeb1779d45a4cbfaf901ae777150110b7eca271dd3
parentd2754fe993799c63be069bda662b5e589f841dc1 (diff)
downloadnextcloud-server-846ca765b9710c54b057c55b67dae615a9b375d7.tar.gz
nextcloud-server-846ca765b9710c54b057c55b67dae615a9b375d7.zip
fix(federatedfilesharing): Use correct language file to render notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/federatedfilesharing/lib/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/Notifier.php b/apps/federatedfilesharing/lib/Notifier.php
index 563b121ce5b..14cb1777b7b 100644
--- a/apps/federatedfilesharing/lib/Notifier.php
+++ b/apps/federatedfilesharing/lib/Notifier.php
@@ -94,7 +94,7 @@ class Notifier implements INotifier {
}
// Read the language from the notification
- $l = $this->factory->get('files_sharing', $languageCode);
+ $l = $this->factory->get('federatedfilesharing', $languageCode);
switch ($notification->getSubject()) {
// Deal with known subjects