From ad5a8fd390a7c7276da0a0ed851f35152dbcc224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <philipp@hoerist.com> Date: Tue, 8 Jan 2019 20:21:47 +0100 Subject: [PATCH] Pass xml:lang to nbxmpp --- gajim/common/connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gajim/common/connection.py b/gajim/common/connection.py index 2c60cb6866..85bb257942 100644 --- a/gajim/common/connection.py +++ b/gajim/common/connection.py @@ -56,6 +56,7 @@ from gajim.common import app 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 @@ class Connection(CommonConnection, ConnectionHandlers): 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 = \ -- GitLab