Skip to content

Commit

Permalink
Fix default langauge detection for calendar invite emails
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Oct 13, 2021
1 parent c1e7f6e commit 73ae515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function schedule(Message $iTipMessage) {
$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);

Expand Down

0 comments on commit 73ae515

Please sign in to comment.