core (constants): added a constant for "encrypted"
This commit is contained in:
parent
ed0312261e
commit
02dc38762e
1 changed files with 10 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue