Tweak the tasks
This commit is contained in:
@@ -95,8 +95,9 @@ class MicroblogPubBackend(Backend):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
tasks.process_new_activity.delay(activity.id)
|
|
||||||
tasks.cache_attachments(activity.id)
|
tasks.cache_attachments(activity.id)
|
||||||
|
if box == Box.INBOX:
|
||||||
|
tasks.process_new_activity.delay(activity.id)
|
||||||
|
|
||||||
@ensure_it_is_me
|
@ensure_it_is_me
|
||||||
def outbox_new(self, as_actor: ap.Person, activity: ap.BaseActivity) -> None:
|
def outbox_new(self, as_actor: ap.Person, activity: ap.BaseActivity) -> None:
|
||||||
|
Reference in New Issue
Block a user