diff options
author | fwaggle <[email protected]> | 2022-11-05 15:01:28 +1100 |
---|---|---|
committer | fwaggle <[email protected]> | 2022-11-05 15:01:28 +1100 |
commit | 144a4e2b9bdfd371e651f965f21018dc4dd77fd4 (patch) | |
tree | 1ce5bfd62ae882c2360b665205e1752b6ca0e240 /docs/14_contributing.rst | |
parent | b69e998cebcf60052a0ccfa76bce073f9817df65 (diff) | |
download | mastodon.py-144a4e2b9bdfd371e651f965f21018dc4dd77fd4.tar.gz |
Fix version crash when connecting to gotosocial
While gotosocial has a PR open to send a Mastodon-compatible version in
the `instance` endpoint, whatever it sends is unlikely to be helpful for
the purpose of version-gating features in the client library.
You can disable version-gating, but it still fails on instantiating
due to GtS's version not matching the semver regex. Fix this by moving
the version_check_mode above it, and not parsing the version if it's
turned off.
Diffstat (limited to 'docs/14_contributing.rst')
0 files changed, 0 insertions, 0 deletions