famedly / matrix-dart-sdk

Matrix SDK written in pure Dart.
GNU Affero General Public License v3.0
62 stars 31 forks source link

feat: alt way for auth media (BREAKING) #1903

Closed td-famedly closed 2 months ago

td-famedly commented 2 months ago

This removes the version checks, and expects clients to manually return both endpoints using the useAuthentication flag

Breaking change but tries both new and old endpoints. Would require clients to implement a retry mech for their media if they fail.

Particularly useful when servers are misconfigured so they return on the old endpoints but not on the new ones. (not a fan, just configure them correctly!)