recognize sharkey as a misskey fork

untested but it will probably work(TM)
This commit is contained in:
badeline 2024-01-17 17:54:15 +00:00
parent 4308bd4d98
commit 4e78d36eff

View file

@ -52,7 +52,7 @@ func (f FediverseApp) MastodonCompatible() bool {
} }
func (f FediverseApp) Misskey() 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") const ErrNoInstanceApp = errors.Sentinel("instance doesn't have an app")