diff --git a/backend/db/fediverse.go b/backend/db/fediverse.go index 5a6bfbe..a2bc2e6 100644 --- a/backend/db/fediverse.go +++ b/backend/db/fediverse.go @@ -48,7 +48,7 @@ func (f FediverseApp) ClientConfig() *oauth2.Config { } func (f FediverseApp) MastodonCompatible() bool { - return f.InstanceType == "mastodon" || f.InstanceType == "pleroma" || f.InstanceType == "akkoma" || f.InstanceType == "pixelfed" || f.InstanceType == "gotosocial" + return f.InstanceType == "mastodon" || f.InstanceType == "pleroma" || f.InstanceType == "akkoma" || f.InstanceType == "incestoma" || f.InstanceType == "pixelfed" || f.InstanceType == "gotosocial" } func (f FediverseApp) Misskey() bool { diff --git a/backend/routes/v1/auth/fediverse.go b/backend/routes/v1/auth/fediverse.go index fa3ecec..3619a52 100644 --- a/backend/routes/v1/auth/fediverse.go +++ b/backend/routes/v1/auth/fediverse.go @@ -70,11 +70,8 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r fallthrough case "misskey", "foundkey", "calckey", "firefish", "sharkey": return s.noAppMisskeyURL(ctx, w, r, softwareName, instance) - case "mastodon", "pleroma", "akkoma", "pixelfed", "gotosocial": + case "mastodon", "pleroma", "akkoma", "incestoma", "pixelfed", "gotosocial": case "glitchcafe", "hometown": - // plural.cafe (potentially other instances too?) runs Mastodon but changes the software name - // Hometown is a lightweight fork of Mastodon so we can just treat it the same - // changing it back to mastodon here for consistency softwareName = "mastodon" default: return server.APIError{Code: server.ErrUnsupportedInstance}