diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 0b308a7..74c06e3 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -238,7 +238,7 @@ def print_tg_info(): params = { "server": my_ip, "port": PORT, "secret": secret } - print("tg://proxy?" + urllib.parse.urlencode(params), flush=True) + print("{}: tg://proxy?{}".format(user, urllib.parse.urlencode(params)), flush=True) def main():