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
nekk
gajim-plugins
Commits
9b809b6b
Commit
9b809b6b
authored
Jul 28, 2017
by
Philipp Hörist
Browse files
[omemo] Make sure from attr is a string
parent
ca7a3cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
omemo/omemoplugin.py
View file @
9b809b6b
...
...
@@ -1126,7 +1126,8 @@ class OmemoPlugin(GajimPlugin):
log
.
error
(
account
+
' => Devicelistquery was NOT successful'
)
self
.
publish_own_devices_list
(
account
,
new
=
True
)
return
False
contact_jid
=
stanza
.
getAttr
(
'from'
)
contact_jid
=
str
(
stanza
.
getAttr
(
'from'
))
if
contact_jid
==
my_jid
:
state
.
set_own_devices
(
devices_list
)
state
.
store
.
sessionStore
.
setActiveState
(
devices_list
,
my_jid
)
...
...
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