diff --git a/backend/db/fediverse.go b/backend/db/fediverse.go index 2918d8c..cf35db9 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 39b124a..0779130 100644 --- a/backend/routes/v1/auth/fediverse.go +++ b/backend/routes/v1/auth/fediverse.go @@ -67,7 +67,7 @@ func (s *Server) noAppFediverseURL(ctx context.Context, w http.ResponseWriter, r switch softwareName { case "misskey", "foundkey", "calckey", "firefish": 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