summaryrefslogtreecommitdiffstats
path: root/users/models
diff options
context:
space:
mode:
Diffstat (limited to 'users/models')
-rw-r--r--users/models/inbox_message.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/models/inbox_message.py b/users/models/inbox_message.py
index 526311d..6c36043 100644
--- a/users/models/inbox_message.py
+++ b/users/models/inbox_message.py
@@ -75,6 +75,8 @@ class InboxMessageStates(StateGraph):
match instance.message_object_type:
case "tombstone":
await sync_to_async(Post.handle_delete_ap)(instance.message)
+ case "note":
+ await sync_to_async(Post.handle_delete_ap)(instance.message)
case unknown:
raise ValueError(
f"Cannot handle activity of type delete.{unknown}"