plugin pte: Pubsub Target Encryption implementation:
This plugin lets encrypt a few items for a specific set of entities. rel 382
This commit is contained in:
parent
27e9655898
commit
e08d8207d6
1 changed files with 194 additions and 14 deletions
|
|
@ -984,7 +984,7 @@ class XEP_0277(object):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue