"pub-relay"
]
+# Aliases for mastodon
+_mastodon_aliases = [
+ "hometown",
+ "ecko",
+ "fedibird",
+ "glitchcafe",
+ "kmyblue",
+ "nagitodon"
+]
+
# Aliases for misskey
_misskey_aliases = [
"slipfox calckey",
"miraiskey",
"lovers",
"rosekey",
- "hijikey"
+ "hijikey",
+ "shrimpkey"
]
@lru_cache
cleared = tidyup.domain(software)
logger.debug("cleared='%s'- AFTER!", cleared)
- if cleared in ["akkoma", "rebased", "akkounfucked", "ched", "incestoma", "revolver"]:
+ if cleared in ["akkoma", "rebased", "akkounfucked", "ched", "incestoma", "revolver"] or "pleroma" in cleared:
logger.debug("Setting pleroma: cleared='%s'", cleared)
cleared = "pleroma"
elif "radiant" in cleared:
logger.debug("Setting radiant: cleared='%s'", cleared)
cleared = "radiant"
- elif cleared in ["hometown", "ecko", "fedibird", "glitchcafe", "kmyblue"] or "되는 마스토돈" in cleared or "mastodon" in cleared:
+ elif cleared in _mastodon_aliases or "되는 마스토돈" in cleared or "mastodon" in cleared:
logger.debug("Setting mastodon: cleared='%s'", cleared)
cleared = "mastodon"
elif cleared in _misskey_aliases or "shumihub" in cleared or "мисскей" in cleared or "milkey" in cleared or "misskey" in cleared: