mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Drop View activities
This commit is contained in:
parent
b3f25e7da1
commit
e0ad21f335
1 changed files with 3 additions and 0 deletions
|
@ -2158,6 +2158,9 @@ async def save_to_inbox(
|
||||||
relates_to_outbox_object,
|
relates_to_outbox_object,
|
||||||
relates_to_inbox_object,
|
relates_to_inbox_object,
|
||||||
)
|
)
|
||||||
|
elif activity_ro.ap_type == "View":
|
||||||
|
# View is used by Peertube, there's nothing useful we can do with it
|
||||||
|
await db_session.delete(inbox_object)
|
||||||
else:
|
else:
|
||||||
logger.warning(f"Received an unknown {inbox_object.ap_type} object")
|
logger.warning(f"Received an unknown {inbox_object.ap_type} object")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue