From 4e78d36effdf7bbad8bb62a00e7ae64ecb097c8e Mon Sep 17 00:00:00 2001 From: badeline Date: Wed, 17 Jan 2024 17:54:15 +0000 Subject: [PATCH] recognize sharkey as a misskey fork untested but it will probably work(TM) --- backend/db/fediverse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/db/fediverse.go b/backend/db/fediverse.go index 2918d8c..5a6bfbe 100644 --- a/backend/db/fediverse.go +++ b/backend/db/fediverse.go @@ -52,7 +52,7 @@ func (f FediverseApp) MastodonCompatible() bool { } func (f FediverseApp) Misskey() bool { - return f.InstanceType == "misskey" || f.InstanceType == "foundkey" || f.InstanceType == "calckey" || f.InstanceType == "firefish" + return f.InstanceType == "misskey" || f.InstanceType == "foundkey" || f.InstanceType == "calckey" || f.InstanceType == "firefish" || f.InstanceType == "sharkey" } const ErrNoInstanceApp = errors.Sentinel("instance doesn't have an app")