First pass at Mitra compatibility

Importing my auth credentials manually (and disabling CORS), I am able to view timelines and post a status on mitra.social. #824

What had to be done:

  • Normalize accounts & statuses better. Convert null values into empty strings.
  • Add a fallback avatar and use it when the avatar is null. Reverts changes to the avatar component in !1029 (merged)
  • Let MediaGallery images fallback on url when preview_url is not provided (should probably be moved to normalization step, but whatever)
  • Support /context on statuses being an array instead of a map.
  • The UI no longer waits for the streamingUrl before rendering (Mitra doesn't provide one). The root of that problem was solved already in !1021 (merged), so it's not needed anymore.

Screenshot_from_2022-02-07_13-15-59

Merge request reports

Loading