summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing
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:21:26 +0000
commit9880016870143bf1defeb640524fee4f4b5617b6 (patch)
tree1fd6ce2b17392f8b1c4e1f6f68227a0de3238019 /apps/federatedfilesharing
parent6209b6e30442cd651d5739dad9c7f005e2ea2a1b (diff)
downloadnextcloud-server-9880016870143bf1defeb640524fee4f4b5617b6.tar.gz
nextcloud-server-9880016870143bf1defeb640524fee4f4b5617b6.zip
fix(federatedfilesharing): Use correct language file to render notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federatedfilesharing')
-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 ffbc3868a3a..ae74dd6419d 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