From d6548dacabc82c61c36a5ad3b44887bf3260a9d1 Mon Sep 17 00:00:00 2001 From: lxndrbnsv Date: Mon, 10 Jan 2022 14:10:03 +0300 Subject: [PATCH] registering user #2 --- synapse/qn/user_data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synapse/qn/user_data.py b/synapse/qn/user_data.py index 18520327e7ca..7d12f0bc3cf4 100644 --- a/synapse/qn/user_data.py +++ b/synapse/qn/user_data.py @@ -1,5 +1,6 @@ import json import datetime +import os import subprocess import requests @@ -65,7 +66,8 @@ def __init__(self, email): if status is False: - RegistrationHandler(hs="https:/matrix.m.mybusines.app") + os.system("python3 /home/matrix/qn_api/register_new_user.py") + with open("/home/matrix/logs/logs_from_user_data_module.log", "a+") as text_file: text_file.write(