From 43ebae2153799cecf888c4954a9ba74af44d2b1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 12 Jun 2023 16:42:49 +0200 Subject: [PATCH] Continued: - alias 'nextcloud social' to 'nextcloud' --- fba/federation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/federation.py b/fba/federation.py index 12f2868..7f933b3 100644 --- a/fba/federation.py +++ b/fba/federation.py @@ -429,6 +429,9 @@ def determine_software(domain: str, path: str = None) -> str: elif software == "runtube.re": # DEBUG: print("DEBUG: Setting peertube:", domain, software) software = "peertube" + elif software == "nextcloud social": + # DEBUG: print("DEBUG: Setting nextcloud:", domain, software) + software = "nextcloud" elif software.find("/") > 0: print("WARNING: Spliting of slash:", software) software = tidyup.domain(software.split("/")[-1]) -- 2.39.5