diff options
author | Lance Stout <lancestout@gmail.com> | 2013-05-22 11:59:17 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-05-22 11:59:17 -0700 |
commit | e48b650caa0f6ef6706d3ec488fe33d88a54fe5c (patch) | |
tree | a9b55882f8031e091bdb6dc4e4615020826f6a3c | |
parent | d9f595283a19737131cd3aef0c5483bbbfccd66c (diff) | |
download | slixmpp-e48b650caa0f6ef6706d3ec488fe33d88a54fe5c.tar.gz slixmpp-e48b650caa0f6ef6706d3ec488fe33d88a54fe5c.tar.bz2 slixmpp-e48b650caa0f6ef6706d3ec488fe33d88a54fe5c.tar.xz slixmpp-e48b650caa0f6ef6706d3ec488fe33d88a54fe5c.zip |
Fix encrypting with GPG
-rw-r--r-- | sleekxmpp/plugins/xep_0027/stanza.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0027/stanza.py b/sleekxmpp/plugins/xep_0027/stanza.py index 3170ca6e..08f2032b 100644 --- a/sleekxmpp/plugins/xep_0027/stanza.py +++ b/sleekxmpp/plugins/xep_0027/stanza.py @@ -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: |