Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim-plugins
Commits
346da609
Commit
346da609
authored
Jul 28, 2017
by
Philipp Hörist
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Make sure from attr is a string
parent
98f7951f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
omemo/omemoplugin.py
omemo/omemoplugin.py
+2
-0
No files found.
omemo/omemoplugin.py
View file @
346da609
...
...
@@ -1041,6 +1041,8 @@ class OmemoPlugin(GajimPlugin):
self
.
publish_own_devices_list
(
account
,
new
=
True
)
return
False
contact_jid
=
stanza
.
getAttr
(
'from'
)
if
isinstance
(
nbxmpp
.
JID
,
contact_jid
):
contact_jid
=
str
(
contact_jid
)
if
contact_jid
==
my_jid
:
state
.
set_own_devices
(
devices_list
)
state
.
store
.
sessionStore
.
setActiveState
(
devices_list
,
my_jid
)
...
...
Philipp Hörist
@lovetox
mentioned in commit
ad506353
·
Aug 07, 2017
mentioned in commit
ad506353
mentioned in commit ad50635347a070adf7a232a2ee791b3aae7d5433
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