From b4e8ed5daf5d3e69fd8325c2fbab44a6be9f9a39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 21 Jul 2023 09:03:19 +0200 Subject: [PATCH] Continued: - added aliases for pleroma/misskey --- fba/helpers/software.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 209b588..373ba1f 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -31,13 +31,13 @@ def alias(software: str) -> str: software = tidyup.domain(software) logger.debug("software='%s'- AFTER!", software) - if software in ["akkoma", "rebased", "akkounfucked", "ched"]: + if software in ["akkoma", "rebased", "akkounfucked", "ched", "incestoma"]: logger.debug("Setting pleroma: software='%s'", software) software = "pleroma" 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", "azk.sns", "firefish"] or "shumihub" in software or "мисскей" in software: + elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social", "azk.sns", "firefish", "qtmmsky"] or "shumihub" in software or "мисскей" in software: logger.debug("Setting misskey: software='%s'", software) software = "misskey" elif software in ["runtube.re", "islameye"]: -- 2.39.5