profanity
is set to yes
, you can also consider showing a warning before reading the message.
From the extension settings, you can also choose to drop the message altogether.
At the recipients’ end, from the message
object, you can fetch the metadata by calling the getMetadata()
method. Using this metadata, you can fetch the masked message.