core (constants): added a constant for "encrypted"

This commit is contained in:
Goffi 2019-01-04 18:46:02 +01:00
commit 02dc38762e

View file

@ -380,7 +380,7 @@ class EncryptionHandler(object):
the plugin
@param mess_data(dict): message data as used in post treat workflow
"""
mess_data['encrypted'] = True
mess_data[C.MESS_KEY_ENCRYPTED] = True
return mess_data
def markAsTrusted(self, mess_data):
@ -390,7 +390,7 @@ class EncryptionHandler(object):
the plugin
@param mess_data(dict): message data as used in post treat workflow
"""
mess_data['trusted'] = True
mess_data[C.MESS_KEY_TRUSTED] = True
return mess_data
def markAsUntrusted(self, mess_data):