metabolist / metatext

A free, open-source iOS Mastodon client.
https://metabolist.org/metatext
GNU General Public License v3.0
726 stars 101 forks source link

App returns HTTP Error: 500 and crashes when attempting a search on a Pleroma instance #85

Open ghost opened 2 years ago

ghost commented 2 years ago

Describe the bug I'm on a Pleroma instance which should use the same API endpoints as Mastodon, but when attempting to search for a user or toot/post in the Explore tab, a HTTP Error: 500 text box appears and the app crashes while processing the search.

To Reproduce Steps to reproduce the behavior:

  1. Go to the 'Explore' tab in the app while logged in on a Pleroma instance
  2. Type something that isn't a toot/post link into the search bar
  3. HTTP Error: 500 pop-up appears and app crashes

Expected behavior No errors, and the search is processed normally

(please complete the following information):

Additional context The search returns the correct result and doesn't crash when searching for a toot/post link.