+1 pisskey fork
This commit is contained in:
parent
f0032a7146
commit
f253afa1bf
@ -166,7 +166,7 @@ def get_type(domain: str) -> str:
|
|||||||
return "pleroma"
|
return "pleroma"
|
||||||
elif res.json()["software"]["name"] in ["hometown", "ecko"]:
|
elif res.json()["software"]["name"] in ["hometown", "ecko"]:
|
||||||
return "mastodon"
|
return "mastodon"
|
||||||
elif res.json()["software"]["name"] in ["calckey", "groundpolis"]:
|
elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]:
|
||||||
return "misskey"
|
return "misskey"
|
||||||
else:
|
else:
|
||||||
return res.json()["software"]["name"]
|
return res.json()["software"]["name"]
|
||||||
|
@ -38,7 +38,7 @@ def get_type(instdomain: str) -> str:
|
|||||||
return "pleroma"
|
return "pleroma"
|
||||||
elif res.json()["software"]["name"] in ["hometown", "ecko"]:
|
elif res.json()["software"]["name"] in ["hometown", "ecko"]:
|
||||||
return "mastodon"
|
return "mastodon"
|
||||||
elif res.json()["software"]["name"] in ["calckey", "groundpolis"]:
|
elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]:
|
||||||
return "misskey"
|
return "misskey"
|
||||||
else:
|
else:
|
||||||
return res.json()["software"]["name"]
|
return res.json()["software"]["name"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user