aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/actor_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/actor_profile.php')
-rw-r--r--routes/actor_profile.php2
1 files changed, 1 insertions, 1 deletions
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']);