Change the url property field so that Link objects are processed properly.

various-fixes
Alain St-Denis 2023-02-22 11:43:55 -05:00
rodzic 0688e83240
commit f84b83cb5c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -584,7 +584,7 @@ class Person(Object, base.Profile):
username = fields.String(as2.preferredUsername)
endpoints = CompactedDict(as2.endpoints)
shared_inbox = IRI(as2.sharedInbox) # misskey adds this
url = IRI(as2.url)
url = MixedField(as2.url, nested='LinkSchema')
playlists = IRI(pt.playlists)
featured = IRI(toot.featured)
featuredTags = IRI(toot.featuredTags)