From 5d7a4605bd0bd71949a37139eccfbf8a70d0c32e Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 11 May 2025 18:24:02 +0100 Subject: improvements to simple remote actor support --- templates/actor/profile_page.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/actor') diff --git a/templates/actor/profile_page.php b/templates/actor/profile_page.php index 7ae8d09..f9b688c 100644 --- a/templates/actor/profile_page.php +++ b/templates/actor/profile_page.php @@ -38,6 +38,10 @@ call_template('skeleton', [ call_template('actor/profile_poke_form', ['actor' => $actor]); } + if (!$actor->isLocal && !isset($actor->endpoints->follow)) { + call_template('alertbox', ['variety' => 'info', 'message' => __('user.profile.noPushWarning')]); + } + echo '
'; $notes = Note::findAllWithAuthor($actor, 20); if (count($notes) == 0) { -- cgit v1.3