chore: Change the notification text for mention notification type (#2534)
This commit is contained in:
6
app/helpers/message_format_helper.rb
Normal file
6
app/helpers/message_format_helper.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
module MessageFormatHelper
|
||||
include RegexHelper
|
||||
def transform_user_mention_content(message_content)
|
||||
message_content.gsub(MENTION_REGEX, '\1')
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user