From: Roland Häder Date: Wed, 12 Jul 2023 08:30:27 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ca7b793185d6de7717824dadf8f34205ec9ee67;p=fba.git Continued: - roadhouse is an alias for hubzilla, it is currently unsupported as it doesn't provide needed APIs for fetching peers and blocklists but just in case they add it - same with nextcloud and others - shumihub is an alias for misskey --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 88d8658..992858c 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -37,7 +37,7 @@ def alias(software: str) -> str: elif software in ["hometown", "ecko"] or "mastodon" in software: logger.debug("Setting mastodon: software='%s'", software) software = "mastodon" - elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social"]: + elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social"] or "shumihub" in software: logger.debug("Setting misskey: software='%s'", software) software = "misskey" elif software in ["runtube.re", "islameye"]: @@ -46,6 +46,9 @@ def alias(software: str) -> str: elif software in ["nextcloud social", "nextcloudpi", "storage share"]: logger.debug("Setting nextcloud: software='%s'", software) software = "nextcloud" + elif software == "roadhouse": + logger.debug("Setting hubzilla: software='%s'", software) + software = "hubzilla" elif software.find("/") > 0: logger.warning("Spliting of slash: software='%s'", software) software = software.split("/")[-1]