- # https://github.com/tootsuite/mastodon/blob/master/app/models/notification.rb#L19
- @mastodon_notification_types %{
- "Create" => "mention",
- "Follow" => "follow",
- "Announce" => "reblog",
- "Like" => "favourite",
- "Move" => "move",
- "EmojiReaction" => "pleroma:emoji_reaction"
- }
-
- @mastodon_to_ap_notification_types for {k, v} <- @mastodon_notification_types,
- into: %{},
- do: {v, k}
-