Pobierz
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Summit@lemmy.worldbyBjörn@swg-empire.de
10 months

URLs with /c/ are treated as community links.

Not sure how you’d go about fixing this. But in the comment https://sopuli.xyz/comment/19414295 is a link to https://www.youtube.com/c/Partizánmédia/streams that Summit tries to open as a community. Maybe you can continue on to the normal Android link handling if no Lemmy or Piefed API can be found on the server.

1
    You must log in or register to comment.

    • Admiral Patrick@lemmy.world
      10 months

      Tesseract used to have that same bug. To fix it, I now poll /api/v3/federated_instances at startup and save those to a lookup variable. Before localizing a community, user, post, or comment link, it checks to see if the domain is to a known federated instance by looking for it in the list of federated instances.

      There may be other ways to solve that problem, but that was what I went with. Bonus is it doesn’t require any extra network calls beyond the one to fetch the list of federated instances at startup.

      Summit@lemmy.world

      summit@lemmy.world

      Subscribe from remote instance

      Create post

      Report community

      Modlog
      You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !summit@lemmy.world

      Community to discuss Summit, an open-source Android app for browsing Lemmy and PieFed.

      Get the app on the Play Store.

      F-Droid

      APK / Obtainum

      Source code

      Support the app

      Support me on Patreon

      Website: https://summit.idunnololz.com/

      Visibility: Public

      This community is visible to everyone.

      • 23 users / Day
      • 31 users / Week
      • 31 users / Month
      • 31 users / 6 months
      • 17 posts
      • 22 comments
      • 1 local subscriber
      • 1.37K subscribers
      • Mods:
      • idunnololz@lemmy.world
      • UI: 1.0.0.beta.1
      • BE: 1.0.0-beta.1-8-g3ba782197
      • Modlog
      • Instances
      • Docs
      • Code
      • join-lemmy.org