aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Model
diff options
context:
space:
mode:
authorwinter2025-05-11 18:24:02 +0100
committerwinter2025-05-11 18:24:02 +0100
commit5d7a4605bd0bd71949a37139eccfbf8a70d0c32e (patch)
tree505324e8aa1478776f7ea41015e426a15b795f79 /Digitigrade/Model
parent5f5a1323eda22d7771ec10c364d41650d7f2814f (diff)
improvements to simple remote actor support
Diffstat (limited to 'Digitigrade/Model')
-rw-r--r--Digitigrade/Model/Actor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Model/Actor.php b/Digitigrade/Model/Actor.php
index 3fb7e4e..a8909df 100644
--- a/Digitigrade/Model/Actor.php
+++ b/Digitigrade/Model/Actor.php
@@ -259,7 +259,7 @@ class Actor extends PushableModel implements RpcReceiver {
if (!$target->isLocal && !isset($target->endpoints->follow, $target->endpoints->unfollow)) {
// if this is the first time someone local followed this actor, put a job in to update them
if (count(array_filter($target->findFollowers(), fn(Actor $a) => $a->isLocal)) == 0) {
- (new PeriodicFetchRemoteFeed($target))->submit();
+ (new PeriodicFetchRemoteFeed($target))->submit(now: true);
}
FollowRelation::create($this, $target, FollowRelationStatus::ACTIVE);
// no need to processNotifications because it's always going to be a remote user & not pending