mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 05:56:29 +00:00
Don't complain on delete on unknown URIs
This commit is contained in:
parent
4956c7cd7a
commit
8fe99718f3
1 changed files with 2 additions and 3 deletions
|
@ -109,9 +109,8 @@ class InboxMessageStates(StateGraph):
|
|||
).aexists():
|
||||
await sync_to_async(Post.handle_delete_ap)(instance.message)
|
||||
else:
|
||||
raise ValueError(
|
||||
f"Cannot handle activity of type delete on URI {instance.message['object']}"
|
||||
)
|
||||
# It is presumably already deleted
|
||||
pass
|
||||
else:
|
||||
match instance.message_object_type:
|
||||
case "tombstone":
|
||||
|
|
Loading…
Reference in a new issue