From dc1deda3a02e3ebc31d4ed3a256580469cf83c0e Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 31 Mar 2025 22:01:50 +0100 Subject: add button to reload actors from remote instance --- routes/actor_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/actor_profile.php') diff --git a/routes/actor_profile.php b/routes/actor_profile.php index 2f297b9..4a197ee 100644 --- a/routes/actor_profile.php +++ b/routes/actor_profile.php @@ -7,7 +7,7 @@ use Digitigrade\Router; Router::getInstance()->mount('/@/:handle', function (array $args) { if (str_contains($args['handle'], '@')) { // remote actor - $actor = Actor::findByWebfinger($args['handle']); + $actor = Actor::findByWebfinger($args['handle'], forceRefetch: isset($_GET['forceRefetch'])); } else { // local actor $actor = Actor::findLocalByHandle($args['handle']); -- cgit v1.3