mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 06:50:00 +00:00
b7dd32da42
It turns out that in Masto v2.3.0 the languages key was added to the V1
Instance and that it's effectively mandatory. Though in GtS we don't
really have this concept yet, some apps will explode if the languages
key is missing altogether. So at least return the empty array on V1 too
in the hopes that it makes things work well enough.
For history's sake, you can see the attributes that will get serialised
in
|
||
---|---|---|
.. | ||
activitypub | ||
auth | ||
client | ||
fileserver | ||
model | ||
nodeinfo | ||
util | ||
wellknown | ||
activitypub.go | ||
auth.go | ||
client.go | ||
fileserver.go | ||
nodeinfo.go | ||
wellknown.go |