mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2025-03-04 08:43:58 +00:00
don't use python 3.12 feature
This commit is contained in:
parent
be21b30d61
commit
2e373eddc9
1 changed files with 2 additions and 2 deletions
|
@ -251,10 +251,10 @@ def cli_convert(ctx: click.Context, old_config: str) -> None:
|
||||||
|
|
||||||
match inbox.get("software"):
|
match inbox.get("software"):
|
||||||
case "akkoma" | "pleroma":
|
case "akkoma" | "pleroma":
|
||||||
inbox["actor"] = f"https://{inbox["domain"]}/relay"
|
inbox["actor"] = f"https://{inbox['domain']}/relay"
|
||||||
|
|
||||||
case "mastodon":
|
case "mastodon":
|
||||||
inbox["actor"] = f"https://{inbox["domain"]}/actor"
|
inbox["actor"] = f"https://{inbox['domain']}/actor"
|
||||||
|
|
||||||
case _:
|
case _:
|
||||||
inbox["actor"] = None
|
inbox["actor"] = None
|
||||||
|
|
Loading…
Reference in a new issue