From: Roland Häder Date: Sun, 9 Jul 2023 03:51:16 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b6901437bfc0ddde3ef805866374ff9fe6858823;p=fba.git Continued: - added further aliases --- diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 31224b4..50651a1 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -34,10 +34,10 @@ def alias(software: str) -> str: if software in ["akkoma", "rebased", "akkounfucked", "ched"]: logger.debug("Setting pleroma: software='%s'", software) software = "pleroma" - elif software in ["hometown", "ecko"]: + 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"]: + elif software in ["slipfox calckey", "calckey", "groundpolis", "foundkey", "cherrypick", "meisskey", "magnetar", "keybump", "dolphin", "calckey social"]: logger.debug("Setting misskey: software='%s'", software) software = "misskey" elif software in ["runtube.re", "islameye"]: