Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
python-nbxmpp
Commits
39cb5cc7
Commit
39cb5cc7
authored
May 12, 2022
by
Philipp Hörist
Browse files
fix: Roster: Don’t fail when no roster attribute is found
parent
bb03e94e
Pipeline
#9856
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/modules/roster.py
View file @
39cb5cc7
...
...
@@ -120,7 +120,10 @@ class Roster(BaseModule):
if
ver_support
:
version
=
query
.
getAttr
(
'ver'
)
if
version
is
None
:
raise
MalformedStanzaError
(
'ver attribute missing'
,
stanza
)
# raise MalformedStanzaError('ver attribute missing', stanza)
# Prosody sometimes does not send ver attribute with some
# community modules
self
.
_log
.
warning
(
'no version attribute found'
)
pushed_items
=
[]
for
item
in
query
.
getTags
(
'item'
):
...
...
Daniel Brötzmann
@wurstsalat
mentioned in issue
gajim#10879 (closed)
·
May 18, 2022
mentioned in issue
gajim#10879 (closed)
mentioned in issue gajim#10879
Toggle commit list
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