From b1d6fbc4d740324d96d7fe2677fb15b9b59d20ea Mon Sep 17 00:00:00 2001 From: winter Date: Thu, 16 Jan 2025 20:21:42 +0000 Subject: follow requests --- routes/pending_follows.php | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 routes/pending_follows.php (limited to 'routes/pending_follows.php') diff --git a/routes/pending_follows.php b/routes/pending_follows.php new file mode 100644 index 0000000..d3bd9da --- /dev/null +++ b/routes/pending_follows.php @@ -0,0 +1,10 @@ +mount('/followrequests', function (array $args) { + $user = UserAccount::requireByCurrentSession(); + $actors = $user->actor->findPendingFollowers(); + render_template('follow_requests_page', ['actors' => $actors]); +}); \ No newline at end of file -- cgit v1.3