formatMessageTitle
Generates a preview title for the given message.
Return
The formatted text representation of the preview title.
Parameters
message
The message whose data is used to generate the preview title.
currentUser
The currently logged in user.