From 8c88a69d812a472613db5811da32430a0e65df37 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 20 Jan 2018 14:45:13 +0100 Subject: [PATCH] Remove redundant escape characters --- pyrogram/client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 14f764cc..04bf90fa 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -72,7 +72,7 @@ class Client: created sessions are loaded. """ - INVITE_LINK_RE = re.compile(r"^(?:https?:\/\/)?t\.me\/joinchat\/(.+)$") + INVITE_LINK_RE = re.compile(r"^(?:https?://)?t\.me/joinchat/(.+)$") DIALOGS_AT_ONCE = 100 def __init__(self, session_name: str, test_mode: bool = False):