Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add servers to follows? #107

Open
NfNitLoop opened this issue Jan 6, 2023 · 2 comments
Open

Add servers to follows? #107

NfNitLoop opened this issue Jan 6, 2023 · 2 comments
Labels
data model Changes that need a change to the FeoBlog data model UI User-interface issues

Comments

@NfNitLoop
Copy link
Owner

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.

@NfNitLoop
Copy link
Owner Author

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.

@NfNitLoop NfNitLoop added UI User-interface issues data model Changes that need a change to the FeoBlog data model labels Mar 4, 2023
@NfNitLoop
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model Changes that need a change to the FeoBlog data model UI User-interface issues
Projects
None yet
Development

No branches or pull requests

1 participant