Open MrPetovan opened 2 years ago
Thanks for taking the time to track this down! I see the root problem is still open -- does that mean mastodon is still serving HTML-only pages?
Very much so, I'm afraid: http://joinmastodon.org/ns
This is now blocking communication between Friendica and GotoSocial and Owncast, both relying on go-fed.
See https://github.com/friendica/friendica/issues/10740 Copied upstream from https://github.com/superseriousbusiness/gotosocial/issues/240
If https://github.com/mastodon/joinmastodon/issues/148 doesn't get addressed, there is another way to prevent a remote lookup to a dead namespace link which can break federation.
Instead of just
Safe interoperability solution
you can bring the whole namespace definition in the context array like this:
Solution requiring JSON-LD compacting on the receiving end
If this is too verbose for you in every single outgoing message, you can instead declare your namespace like this:
And update every key listed in the above namespace to the corresponding value.
"discoverable": false
would become"toot:discoverable": false
for example. I do not have more information on the more complex declarations but I assume it works the same, just by replacing the key by the@id
value.Thanks to @annando for the technical details.