From 0738b4395a7746884f07c7d749c75c9255143fcc Mon Sep 17 00:00:00 2001 From: "Foster \"Forst\" Snowhill" Date: Mon, 28 May 2018 21:32:51 +0300 Subject: [PATCH] Print user ID for every proxy link --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():