Merge pull request #12020 from nextcloud/bugfix/11795/calendar_invitation_fallback_lang
Calendar invitation: use system default instead of sender's language as fallback
This commit is contained in:
commit
1293affc84
|
@ -170,7 +170,7 @@ class IMipPlugin extends SabreIMipPlugin {
|
|||
$vevent = $iTipMessage->message->VEVENT;
|
||||
|
||||
$attendee = $this->getCurrentAttendee($iTipMessage);
|
||||
$defaultLang = $this->config->getUserValue($this->userId, 'core', 'lang', $this->l10nFactory->findLanguage());
|
||||
$defaultLang = $this->l10nFactory->findLanguage();
|
||||
$lang = $this->getAttendeeLangOrDefault($defaultLang, $attendee);
|
||||
$l10n = $this->l10nFactory->get('dav', $lang);
|
||||
|
||||
|
|
Loading…
Reference in New Issue