I am the developer of Summit for Lemmy.

  • 99 Posts
  • 456 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle



  • Same thing happened to our cat except when it happened to our cat, she freaked out and rang around the house.

    She ran through the railing which caused the paper bag to rip. The bag then ripped in the worst way, with 90% of the bag ripping off but the paper handle was still around her neck. She got really scared and ran under our bed. She hid there for hours. Eventually she came out. I was able to grab on to the handle and she tried to run which caused the handle to rip off finally, freeing her.

    No injuries or anything and she was behaving normally an hour after the handle ripped off.

















  • Cool. I figured out the cause and will have a fix in the next release. By default, the app tries to determine if a URL is a Lemmy instance or a regular website. It does this by pinging a specific Lemmy endpoint. if it returns success then it’s a Lemmy site, if it errors for some reason then the app will try to hit the main webpage. If it works then the app assumes that the URL is a website but not a Lemmy instance. In this case, the app will auto-assume all Lemmy features are disabled, including downvotes.

    Lemmy servers are generally not that stable compared to more commercial servers and it’s also possible that a phone’s connection can become unstable. In these cases what could happen is that the Lemmy API instance check errors due to either timing out or the server returning an error and then the fetch on the front page succeeds. When this apps the app assumes the instance is not a Lemmy server and disables all features causing the downvote button to disappear. Restarting the app fixes it because it causes the app to re-check the server to determine its capabilities.

    A simple fix for this is for the app to simply cache server capabilities and fallback on the cached information if an error occurs while re-evaluating the server’s capabilities.