Merge pull request #11 from sugar700/recgonize-sharkey-and-cutiekey-as-misskey

Recognize Sharkey and Cutiekey as Misskey
This commit is contained in:
Natty 2024-05-17 09:55:13 +02:00 committed by GitHub
commit 50ce48eae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;