[Git][gajim/python-nbxmpp][master] 2 commits: Dont set xml:lang for muc config

Philipp Hörist gitlab at dev.gajim.org
Mon Jan 7 23:42:17 CET 2019


Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
3b46b522 by Philipp Hörist at 2019-01-07T22:34:43Z
Dont set xml:lang for muc config

xml:lang we set on the stream is inherited

- - - - -
97f5f4a2 by Philipp Hörist at 2019-01-07T22:42:11Z
Raise version to 0.9.90.4

- - - - -


2 changed files:

- nbxmpp/__init__.py
- nbxmpp/modules/muc.py


Changes:

=====================================
nbxmpp/__init__.py
=====================================
@@ -15,4 +15,4 @@ from .client_nb import NonBlockingClient
 from .plugin import PlugIn
 from .smacks import Smacks
 
-__version__ = "0.9.90.3"
+__version__ = "0.9.90.4"


=====================================
nbxmpp/modules/muc.py
=====================================
@@ -354,11 +354,10 @@ class MUC:
         return iq
 
     @call_on_response('_config_received')
-    def request_config(self, room_jid, lang):
+    def request_config(self, room_jid):
         iq = Iq(typ='get',
                 queryNS=NS_MUC_OWNER,
                 to=room_jid)
-        iq.setAttr('xml:lang', lang)
         log.info('Request config for %s', room_jid)
         return iq
 



View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/compare/1db41e016b94b22d89397a14f0bad8800aa40b1c...97f5f4a2ecbbe3390f4e111a96c8a7046e33c5dd

-- 
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/compare/1db41e016b94b22d89397a14f0bad8800aa40b1c...97f5f4a2ecbbe3390f4e111a96c8a7046e33c5dd
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20190107/38e91c4a/attachment.html>


More information about the Commits mailing list