Commit ad5a8fd3 authored by Philipp Hörist's avatar Philipp Hörist

Pass xml:lang to nbxmpp

parent 2ad179df
......@@ -56,6 +56,7 @@
from gajim.common import gpg
from gajim.common import passwords
from gajim.common import idle
from gajim.common import i18n
from gajim.common.i18n import _
from gajim.common.connection_handlers import *
from gajim.common.contacts import GC_Contact
......@@ -1037,7 +1038,8 @@ def _connect_to_next_host(self, retry=False):
con = nbxmpp.NonBlockingClient(
domain=self._hostname,
caller=self,
idlequeue=app.idlequeue)
idlequeue=app.idlequeue,
lang=i18n.LANG)
# increase default timeout for server responses
nbxmpp.dispatcher_nb.DEFAULT_TIMEOUT_SECONDS = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment