Recognize Sharkey and Cutiekey as Misskey

This commit is contained in:
Sugar 2024-05-16 15:42:00 +02:00
parent 164222f9c6
commit 5beb21bb86

View file

@ -262,7 +262,9 @@ class ApiClient {
software.name.includes("calckey") || software.name.includes("calckey") ||
software.name.includes("foundkey") || software.name.includes("foundkey") ||
software.name.includes("magnetar") || software.name.includes("magnetar") ||
software.name.includes("firefish")) { software.name.includes("firefish") ||
software.name.includes("sharkey") ||
software.name.includes("cutiekey")) {
const client = new MisskeyApiClient(instance); const client = new MisskeyApiClient(instance);
instanceTypeCache.set(instance, client); instanceTypeCache.set(instance, client);
return client; return client;