e61c0c45aa
lib/default.php - Add RemoteFollow to the list of default plugins RemoteFollowPlugin: - Subscribe events to add the remote-follow button RemoteFollowInitAction: - Handles the remote-follow form and getting the redirection url for follow completion RemoteFollowSubAction: - Handles the remote profile pulling and actual following
8 lines
541 B
Plaintext
8 lines
541 B
Plaintext
RemoteFollowConnectProfile: when the plugin is "one url away" from redirecting to the remote follower instance; federation plugins must find and retrieve the url for redirection
|
|
- User $target local user to be followed
|
|
- string $profile remote follower's ID
|
|
- string|null &$url url for redirection
|
|
|
|
RemoteFollowPullProfile: when the plugin needs to pull the remote profile from its uri; federation plugins must pull, store and retrieve the profile's local object
|
|
- string $uri the remote profile's uri
|
|
- null|Profile &$profile pulled profile |