Ignore emoji react undos as well

This commit is contained in:
Andrew Godwin 2023-01-16 11:27:23 -07:00
parent 0a848aa884
commit c3caf26f22

View file

@ -98,6 +98,9 @@ class InboxMessageStates(StateGraph):
await sync_to_async(PostInteraction.handle_undo_ap)(
instance.message
)
case "http://litepub.social/ns#emojireact":
# We're ignoring emoji reactions for now
pass
case unknown:
raise ValueError(
f"Cannot handle activity of type undo.{unknown}"