Fix encrypting with GPG
This commit is contained in:
parent
d9f595283a
commit
e48b650caa
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Encrypted(ElementBase):
|
|||
def set_encrypted(self, value):
|
||||
parent = self.parent()
|
||||
xmpp = parent.stream
|
||||
data = xmpp['xep_0027'].encrypt(value, parent['to'].bare)
|
||||
data = xmpp['xep_0027'].encrypt(value, parent['to'])
|
||||
if data:
|
||||
self.xml.text = data
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue