diff options
-rw-r--r-- | plugins/gpg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpg/__init__.py b/plugins/gpg/__init__.py index c6945e18..a6ecf865 100644 --- a/plugins/gpg/__init__.py +++ b/plugins/gpg/__init__.py @@ -237,7 +237,7 @@ class Plugin(BasePlugin): if veryfied: # remove the xhtm_im body if present, because that # cannot be encrypted. - del message['xhtml_im'] + del message['html'] encrypted_element = ET.Element('{%s}x' % (NS_ENCRYPTED,)) text = self.gpg.encrypt(message['body'], self.config.get(to.bare, '', section='keys'), always_trust=True) if not text: |