Add servers to follows?
If a user has not added a server to their Profile (or has no Profile), someone on another server can not follow them.
Should probably let users save "servers" for other IDs, so that Sync tools can sync that content anyway.
Caveat: Potential for abuse? Users could "follow" a profile on a server, and syncing would then leak your IP to that server.
Aha! But really only the user that stored the server cares about that profile. Hmm. And only until they bootstrap the user's profile, if the profile has a server mentioned.
OK, just need to make a "follow" workflow:
- follow user ID
- Found on local server? Nothing special. Else:
- Ask for remote server.
- Try to fetch profile. Hold in memory.
- Does it have a server listed? Cool.
- No server listed? client will save the server in the follow metadata.
When we post the profile update:
- post profile update
- then ALSO post the profiles of any follows we added to the server, so that we get their server URLs.
To simplify the above flow, we could let users paste a URL to a user, and grab the server/userID out of that for them, instead of making them do it.