Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marcin Mielniczuk
python-nbxmpp
Commits
3b46b522
Commit
3b46b522
authored
Jan 07, 2019
by
Philipp Hörist
Browse files
Dont set xml:lang for muc config
xml:lang we set on the stream is inherited
parent
1db41e01
Changes
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/modules/muc.py
View file @
3b46b522
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment