Calendar invitation: use system default instead of sender's language as fallback
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
410bd9d784
commit
5c51d84a67
|
@ -170,7 +170,7 @@ class IMipPlugin extends SabreIMipPlugin {
|
||||||
$vevent = $iTipMessage->message->VEVENT;
|
$vevent = $iTipMessage->message->VEVENT;
|
||||||
|
|
||||||
$attendee = $this->getCurrentAttendee($iTipMessage);
|
$attendee = $this->getCurrentAttendee($iTipMessage);
|
||||||
$defaultLang = $this->config->getUserValue($this->userId, 'core', 'lang', $this->l10nFactory->findLanguage());
|
$defaultLang = $this->l10nFactory->findLanguage();
|
||||||
$lang = $this->getAttendeeLangOrDefault($defaultLang, $attendee);
|
$lang = $this->getAttendeeLangOrDefault($defaultLang, $attendee);
|
||||||
$l10n = $this->l10nFactory->get('dav', $lang);
|
$l10n = $this->l10nFactory->get('dav', $lang);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue