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
gajim-plugins
Commits
767adbb5
Commit
767adbb5
authored
Jun 02, 2017
by
Philipp Hörist
Browse files
[pgp] Set encryption name in event obj
parent
5f17bcac
Changes
1
Hide whitespace changes
Inline
Side-by-side
pgp/pgpplugin.py
View file @
767adbb5
...
...
@@ -145,7 +145,7 @@ class OldPGPPlugin(GajimPlugin):
encmsg
=
enc_tag
.
getData
()
key_id
=
gajim
.
config
.
get_per
(
'accounts'
,
account
,
'keyid'
)
if
key_id
:
obj
.
encrypted
=
'xep27'
obj
.
encrypted
=
self
.
encryption_name
self
.
decrypt_queue
.
put
([
encmsg
,
key_id
,
obj
,
conn
,
callback
])
if
not
self
.
thread
:
self
.
thread
=
threading
.
Thread
(
target
=
self
.
worker
)
...
...
@@ -242,6 +242,7 @@ class OldPGPPlugin(GajimPlugin):
# Set xhtml to None so it doesnt get logged
obj
.
xhtml
=
None
obj
.
encrypted
=
self
.
encryption_name
print_msg_to_log
(
obj
.
msg_iq
)
callback
(
obj
)
...
...
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