diaspora/app/mailers/notification_mailers
Benjamin Neff dc9a18e24d
Cleanup unicode emojis from email headers
Some email providers (for example gmail) block emails if they have
emojis in the from header, as they could be confused with UI elements.
So the easy solution is to just filter all emojis from the name.

The normal `\p{Emoji}` selector also matches normal numbers, because of
the emoji-version of numbers (1️⃣), but the `\p{Emoji_Presentation}` then
doesn't match colored emojis anymore (❄️), so we need a mix of both to
find all emojis
2023-06-09 04:20:15 +02:00
..
also_commented.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
base.rb Cleanup unicode emojis from email headers 2023-06-09 04:20:15 +02:00
comment_on_post.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
confirm_email.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
contacts_birthday.rb Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
csrf_token_fail.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
liked.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
mentioned.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
mentioned_in_comment.rb Bump rubocop 2017-09-28 03:15:30 +02:00
private_message.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
reshared.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
started_sharing.rb Bump rubocop 2017-09-28 03:15:30 +02:00