Pass xml:lang to nbxmpp
This commit is contained in:
parent
2ad179df77
commit
ad5a8fd390
|
@ -56,6 +56,7 @@ from gajim.common import app
|
||||||
from gajim.common import gpg
|
from gajim.common import gpg
|
||||||
from gajim.common import passwords
|
from gajim.common import passwords
|
||||||
from gajim.common import idle
|
from gajim.common import idle
|
||||||
|
from gajim.common import i18n
|
||||||
from gajim.common.i18n import _
|
from gajim.common.i18n import _
|
||||||
from gajim.common.connection_handlers import *
|
from gajim.common.connection_handlers import *
|
||||||
from gajim.common.contacts import GC_Contact
|
from gajim.common.contacts import GC_Contact
|
||||||
|
@ -1037,7 +1038,8 @@ class Connection(CommonConnection, ConnectionHandlers):
|
||||||
con = nbxmpp.NonBlockingClient(
|
con = nbxmpp.NonBlockingClient(
|
||||||
domain=self._hostname,
|
domain=self._hostname,
|
||||||
caller=self,
|
caller=self,
|
||||||
idlequeue=app.idlequeue)
|
idlequeue=app.idlequeue,
|
||||||
|
lang=i18n.LANG)
|
||||||
|
|
||||||
# increase default timeout for server responses
|
# increase default timeout for server responses
|
||||||
nbxmpp.dispatcher_nb.DEFAULT_TIMEOUT_SECONDS = \
|
nbxmpp.dispatcher_nb.DEFAULT_TIMEOUT_SECONDS = \
|
||||||
|
|
Loading…
Reference in New Issue