kopia lustrzana https://gitlab.com/jaywink/federation
Host meta fetchers now support NodeInfo 2.1
This seems unreleased, and doesn't really add anything useful, but just seen it in the wild.merge-requests/156/merge
rodzic
eab497d8fc
commit
b17f5b5823
|
@ -33,6 +33,8 @@
|
|||
* Entities with `raw_content` now also contain a `_media_type` and `rendered_content`.
|
||||
|
||||
The default `_media_type` is `text/markdown` except for ActivityPub originating posts it defaults to `text/html`. If the ActivityPub payload contains a `source`, that mediaType will be used instead.
|
||||
|
||||
* Host meta fetchers now support NodeInfo 2.1
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ from federation.hostmeta.parsers import (
|
|||
parse_matrix_document, parse_misskey_document)
|
||||
from federation.utils.network import fetch_document
|
||||
|
||||
HIGHEST_SUPPORTED_NODEINFO_VERSION = 2.0
|
||||
HIGHEST_SUPPORTED_NODEINFO_VERSION = 2.1
|
||||
|
||||
|
||||
def fetch_mastodon_document(host):
|
||||
|
|
Ładowanie…
Reference in New Issue