mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
Ignore emoji react undos as well
This commit is contained in:
parent
0a848aa884
commit
c3caf26f22
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ class InboxMessageStates(StateGraph):
|
||||||
await sync_to_async(PostInteraction.handle_undo_ap)(
|
await sync_to_async(PostInteraction.handle_undo_ap)(
|
||||||
instance.message
|
instance.message
|
||||||
)
|
)
|
||||||
|
case "http://litepub.social/ns#emojireact":
|
||||||
|
# We're ignoring emoji reactions for now
|
||||||
|
pass
|
||||||
case unknown:
|
case unknown:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Cannot handle activity of type undo.{unknown}"
|
f"Cannot handle activity of type undo.{unknown}"
|
||||||
|
|
Loading…
Reference in a new issue