From 5c62d3079ea2c8ea30a34b045522013c54653108 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 15 Jul 2023 03:19:59 +0200 Subject: [PATCH] Continued: - abostrophed alias for 'takahe' network - alias added for misskey --- fba/helpers/software.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 74cc923..17d33d5 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"] or ["shumihub", "мисскей"] in software: + elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social", "azk.sns"] or ["shumihub", "мисскей"] in software: logger.debug("Setting misskey: software='%s'", software) software = "misskey" elif software in ["runtube.re", "islameye"]: @@ -49,6 +49,9 @@ def alias(software: str) -> str: elif software == "roadhouse": logger.debug("Setting hubzilla: software='%s'", software) software = "hubzilla" + elif software == "takahē": + logger.debug("Setting takahe: software='%s'", software) + software = "takahe" elif software.find("/") > 0: logger.warning("Spliting of slash: software='%s'", software) software = software.split("/")[-1] -- 2.39.5