Skip to content

Pleroma/Akkoma improvements

Joshua Goins requested to merge work/redstrate/akkoma-fixes2 into master

I set up an Akkoma server, and noticed a bunch of Pleroma/Akkoma API stuff we don't handle yet.

  • Preferences are not handled by these servers.
    • I contributed /api/v1/preferences support to Akkoma, but there's some stuff that isn't given to us yet e.g language.
    • Now when the language is null or the preferences call fails completely, falls back to English. Maybe it should be the interface language...?
  • The character count isn't fetched, because these servers store it in a different key. The correct one should be fetched now.
  • Adds support for more than four poll options, if the server reports the limit.
  • Adds support for their "Local" visibility, which doesn't federate. This new visibility option only shows up if the server reports Pleroma API support.

Merge request reports