The following patch appears to make this work correctly.

--- /usr/lib/python3/dist-packages/synapse/_scripts/
register_new_matrix_user.py 2022-12-24 12:38:34.546673355 +1100
+++ ./register_new_matrix_user.py       2022-12-24 12:38:31.402669824 +1100
@@ -156,6 +156,7 @@
 def main() -> None:
 
     logging.captureWarnings(True)
+    config = None
 
     parser = argparse.ArgumentParser(
         description="Used to register new users with a given homeserver when"

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

Reply via email to