Dont cache actor for Update
This commit is contained in:
parent
76bb3b59d1
commit
b5aec0d0b1
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def post_to_inbox(activity: ap.BaseActivity) -> None:
|
|||
|
||||
save(Box.INBOX, activity)
|
||||
logger.info(f"spawning tasks for {activity!r}")
|
||||
if not activity.has_type(ap.ActivityType.DELETE):
|
||||
if not activity.has_type([ap.ActivityType.DELETE, ap.ActivityType.UPDATE]):
|
||||
Tasks.cache_actor(activity.id)
|
||||
Tasks.process_new_activity(activity.id)
|
||||
Tasks.finish_post_to_inbox(activity.id)
|
||||
|
|
Loading…
Reference in a new issue