core: renamed messageReceived trigger to message_received

This commit is contained in:
Goffi 2023-05-29 13:32:08 +02:00
commit 1781694141

View file

@ -462,7 +462,7 @@ class EncryptionHandler:
def mark_as_encrypted(self, mess_data, namespace):
"""Helper method to mark a message as having been e2e encrypted.
This should be used in the post_treat workflow of messageReceived trigger of
This should be used in the post_treat workflow of message_received trigger of
the plugin
@param mess_data(dict): message data as used in post treat workflow
@param namespace(str): namespace of the algorithm used for encrypting the message
@ -516,7 +516,7 @@ class EncryptionHandler:
def mark_as_trusted(self, mess_data):
"""Helper methor to mark a message as sent from a trusted entity.
This should be used in the post_treat workflow of messageReceived trigger of
This should be used in the post_treat workflow of message_received trigger of
the plugin
@param mess_data(dict): message data as used in post treat workflow
"""
@ -526,7 +526,7 @@ class EncryptionHandler:
def mark_as_untrusted(self, mess_data):
"""Helper methor to mark a message as sent from an untrusted entity.
This should be used in the post_treat workflow of messageReceived trigger of
This should be used in the post_treat workflow of message_received trigger of
the plugin
@param mess_data(dict): message data as used in post treat workflow
"""