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
1 changed files with 3 additions and 0 deletions

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}"