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
gajim
python-nbxmpp
Commits
c113f08c
Commit
c113f08c
authored
Jul 26, 2022
by
Philipp Hörist
Browse files
fix: Allow handlers to connect to presence type available
parent
07863d1d
Pipeline
#10511
passed with stages
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/dispatcher.py
View file @
c113f08c
...
...
@@ -421,10 +421,13 @@ class StanzaDispatcher(Observable):
return
typ
=
stanza
.
getType
()
if
name
==
'message'
and
not
typ
:
typ
=
'normal'
elif
not
typ
:
typ
=
''
if
not
typ
:
if
name
==
'message'
:
typ
=
'normal'
elif
name
==
'presence'
:
typ
=
'available'
else
:
typ
=
''
stanza
.
props
=
stanza
.
getProperties
()
self
.
_log
.
debug
(
'type: %s, properties: %s'
,
typ
,
stanza
.
props
)
...
...
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