]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2023 03:51:16 +0000 (05:51 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2023 03:51:16 +0000 (05:51 +0200)
- added further aliases

fba/helpers/software.py

index 31224b4d3bfd2adee559ea6a9a1be52d4685ed58..50651a1a7290cabcd85c2551985302e180197f2a 100644 (file)
@@ -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"]: