Firefish detection

This commit is contained in:
Natty 2023-07-20 01:29:50 +02:00
parent 7a0dfed243
commit d52bf65d07
No known key found for this signature in database
GPG key ID: BF6CB659ADEE60EC

View file

@ -99,7 +99,11 @@ class ApiClient {
let { software } = apiResponse;
software.name = software.name.toLowerCase();
if (software.name.includes("misskey") || software.name.includes("calckey") || software.name.includes("foundkey") || software.name.includes("magnetar")) {
if (software.name.includes("misskey") ||
software.name.includes("calckey") ||
software.name.includes("foundkey") ||
software.name.includes("magnetar") ||
software.name.includes("firefish")) {
const client = new MisskeyApiClient(instance);
instanceTypeCache.set(instance, client);
return client;