Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gajim
gajim-plugins
Commits
aeb10516
Commit
aeb10516
authored
Jun 30, 2019
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Dont validate JID
nbxmpp does this already for us
parent
522b765d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
omemo/modules/omemo.py
omemo/modules/omemo.py
+1
-6
No files found.
omemo/modules/omemo.py
View file @
aeb10516
...
...
@@ -325,12 +325,7 @@ class OMEMO(BaseModule):
return
for
user_jid
in
result
.
users
:
try
:
jid
=
helpers
.
parse_jid
(
user_jid
)
except
helpers
.
InvalidFormat
:
self
.
_log
.
warning
(
'Invalid JID: %s, ignoring it'
,
user_jid
)
continue
jid
=
str
(
user_jid
)
self
.
backend
.
add_muc_member
(
room_jid
,
jid
)
if
not
self
.
is_contact_in_roster
(
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