25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Don't set i18n option because Converse enforces it instead of browser lang (#3951)

This commit is contained in:
Badlop 2022-11-23 18:39:40 +01:00
parent e2779e1155
commit daaaf221cb

View File

@ -67,7 +67,6 @@ process([], #request{method = 'GET', host = Host, raw_path = RawPath}) ->
{<<"domain_placeholder">>, Domain}, {<<"domain_placeholder">>, Domain},
{<<"registration_domain">>, Domain}, {<<"registration_domain">>, Domain},
{<<"assets_path">>, RawPath}, {<<"assets_path">>, RawPath},
{<<"i18n">>, ejabberd_option:language(Host)},
{<<"view_mode">>, <<"fullscreen">>} {<<"view_mode">>, <<"fullscreen">>}
| ExtraOptions], | ExtraOptions],
Init2 = Init2 =