]> git.mxchange.org Git - fba.git/commitdiff
+1 pisskey fork
authorMint <>
Sat, 3 Sep 2022 13:06:10 +0000 (16:06 +0300)
committerMint <>
Sat, 3 Sep 2022 13:06:10 +0000 (16:06 +0300)
fetch_blocks.py
fetch_instances.py

index f79f394d84a98a3c316a4a661c28272b7ae5764a..d59de981bd350f84b6ad5a67d3d10c706db26626 100644 (file)
@@ -166,7 +166,7 @@ def get_type(domain: str) -> str:
                 return "pleroma"
             elif res.json()["software"]["name"] in ["hometown", "ecko"]:
                 return "mastodon"
-            elif res.json()["software"]["name"] in ["calckey", "groundpolis"]:
+            elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]:
                 return "misskey"
             else:
                 return res.json()["software"]["name"]
index 6dcf9ab8e00a22159a7e3a13befd63136d3ab625..f3fd40e4dddd07c928c8b1e44fa222ab3cff8862 100644 (file)
@@ -38,7 +38,7 @@ def get_type(instdomain: str) -> str:
                 return "pleroma"
             elif res.json()["software"]["name"] in ["hometown", "ecko"]:
                 return "mastodon"
-            elif res.json()["software"]["name"] in ["calckey", "groundpolis"]:
+            elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]:
                 return "misskey"
             else:
                 return res.json()["software"]["name"]