diff options
author | lain <lain@soykaf.club> | 2020-06-04 20:40:46 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-04 20:40:46 +0200 |
commit | aa2ac76510d95f2412e23f3739e8e1ae4402643f (patch) | |
tree | 4f80d938342e7db968509a182a2673b7501caa94 /lib | |
parent | d44da91bbf50ae91e8246ebe3669cfaf1fabda1b (diff) | |
download | pleroma-aa2ac76510d95f2412e23f3739e8e1ae4402643f.tar.gz |
Notification: Don't break on figuring out the type of old EmojiReactions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/notification.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 455d214bf..e5b880b10 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -398,6 +398,10 @@ defmodule Pleroma.Notification do "EmojiReact" -> "pleroma:emoji_reaction" + # Compatibility with old reactions + "EmojiReaction" -> + "pleroma:emoji_reaction" + "Create" -> activity |> type_from_activity_object() |