also add sharkey to the fediverse URL endpoint

This commit is contained in:
sam 2024-02-13 17:29:50 +01:00
parent 0633a32f64
commit 5fcd87a94a
No known key found for this signature in database
GPG key ID: B4EF20DDE721CAA1

View file

@ -68,7 +68,7 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r
case "iceshrimp": case "iceshrimp":
softwareName = "firefish" softwareName = "firefish"
fallthrough fallthrough
case "misskey", "foundkey", "calckey", "firefish": case "misskey", "foundkey", "calckey", "firefish", "sharkey":
return s.noAppMisskeyURL(ctx, w, r, softwareName, instance) return s.noAppMisskeyURL(ctx, w, r, softwareName, instance)
case "mastodon", "pleroma", "akkoma", "pixelfed", "gotosocial": case "mastodon", "pleroma", "akkoma", "pixelfed", "gotosocial":
case "glitchcafe", "hometown": case "glitchcafe", "hometown":