NatoBoram/Leanish

Open post in another instance

Opened this issue · 0 comments

For example, if I have this post: https://lemmy.world/post/16039716

I should have a button to open it in my instance. This button would:

  1. Create a client for the destination instance
  2. Obtain the required parameters
    1. Search for user
    2. Get user ID
    3. Search for community
    4. Get community ID
  3. Search the post with obtained parameters
  4. Get the post ID
  5. Redirect to instance's post

For communities, posts and users that aren't discovered yet, it takes a second for the Lemmy server to discover them. The user should be the one to try again.