diff sat/plugins/plugin_xep_0277.py @ 3972:5fbdf986670c

plugin pte: Pubsub Target Encryption implementation: This plugin lets encrypt a few items for a specific set of entities. rel 382
author Goffi <goffi@goffi.org>
date Mon, 31 Oct 2022 13:46:51 +0100
parents b8ab6da58ac8
children 74d4c9ff893d
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0277.py	Mon Oct 31 04:09:38 2022 +0100
+++ b/sat/plugins/plugin_xep_0277.py	Mon Oct 31 13:46:51 2022 +0100
@@ -984,7 +984,7 @@
             return None
 
         extra = {}
-        for key in ("encrypted", "signed"):
+        for key in ("encrypted", "encrypted_for", "signed"):
             value = data.get(key)
             if value is not None:
                 extra[key] = value