diff --git a/index.php b/index.php index d0fc7b1..153e8e6 100644 --- a/index.php +++ b/index.php @@ -88,12 +88,12 @@ outbox(); // Optional. Dynamic. case "write": write(); // User interface for writing posts. - case "send": + case "action/send": send(); // API for posting content to the Fediverse. - case "follow": - follow(); // User interface for following an external user. - case "follow_user": - follow_user(); // API for following a user. + case "users": + users(); // User interface for (un)following & (un)blocking an external user. + case "action/users": + action_users(); // API for following a user. case "read": view( "read" );// User interface for reading posts. case ".well-known/nodeinfo": @@ -583,7 +583,7 @@ HTML; // Buttons to interact with a message. // By default, just shows a "Follow User" button. if ( "read" == $style ) { - $interactHTML = "➕ "; + $interactHTML = "➕ "; } else { $interactHTML = ""; } @@ -750,7 +750,7 @@ echo <<< HTML