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
58
Issues
58
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
ab38ee7b
Commit
ab38ee7b
authored
Apr 21, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Fail with log output on invalid stanza
parent
70a01c0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
omemo/omemo_connection.py
omemo/omemo_connection.py
+4
-0
No files found.
omemo/omemo_connection.py
View file @
ab38ee7b
...
...
@@ -227,6 +227,10 @@ class OMEMOConnection:
from_jid
=
app
.
get_jid_without_resource
(
from_jid
)
msg_dict
=
unpack_encrypted
(
omemo_encrypted_tag
)
if
msg_dict
is
None
:
log
.
error
(
'Invalid omemo message received:
\n
%s'
,
msg
.
msg_
)
msg
.
encrypted
=
'drop'
return
msg_dict
[
'sender_jid'
]
=
from_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