Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Buquet
slixmpp
Commits
0075d99f
Commit
0075d99f
authored
Apr 25, 2019
by
Maxime Buquet
Browse files
Revert "xep_0045: Ensure <show/> value is valid."
This reverts commit
946674f4
.
parent
97d19790
Changes
1
Hide whitespace changes
Inline
Side-by-side
slixmpp/plugins/xep_0045.py
View file @
0075d99f
...
...
@@ -162,7 +162,7 @@ class XEP_0045(BasePlugin):
return
self
.
xmpp
.
roster
[
pr
[
'from'
]].
ignore_updates
=
True
entry
=
pr
[
'muc'
].
get_stanza_values
()
entry
[
'show'
]
=
pr
[
'show'
]
if
pr
[
'show'
]
in
pr
.
showtypes
else
None
entry
[
'show'
]
=
pr
[
'show'
]
entry
[
'status'
]
=
pr
[
'status'
]
entry
[
'alt_nick'
]
=
pr
[
'nick'
]
if
pr
[
'type'
]
==
'unavailable'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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