From c6166c0a374257b785b90ccb15c90ee30e9ce192 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 13 Oct 2021 10:34:31 +0200 Subject: [PATCH] Fix default langauge detection for calendar invite emails Signed-off-by: Christoph Wurst --- apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);