diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-10-13 10:34:31 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-10-13 11:01:32 +0200 |
commit | c6166c0a374257b785b90ccb15c90ee30e9ce192 (patch) | |
tree | 782fdb2b67e7fc9ea2bb868febbfd2ed986aa649 | |
parent | e163d199d810562da8bc959bf8be843ddbeac118 (diff) | |
download | nextcloud-server-c6166c0a374257b785b90ccb15c90ee30e9ce192.tar.gz nextcloud-server-c6166c0a374257b785b90ccb15c90ee30e9ce192.zip |
Fix default langauge detection for calendar invite emails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index b7baef89ab9..8aacc33bb46 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -202,7 +202,7 @@ class IMipPlugin extends SabreIMipPlugin { $vevent = $iTipMessage->message->VEVENT; $attendee = $this->getCurrentAttendee($iTipMessage); - $defaultLang = $this->l10nFactory->findLanguage(); + $defaultLang = $this->l10nFactory->findGenericLanguage(); $lang = $this->getAttendeeLangOrDefault($defaultLang, $attendee); $l10n = $this->l10nFactory->get('dav', $lang); |