Update invite link regex
This commit is contained in:
parent
600e705d51
commit
1da39efa2e
@ -117,7 +117,7 @@ class Client:
|
||||
Thread pool size for handling incoming updates. Defaults to 4.
|
||||
"""
|
||||
|
||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?t\.me/joinchat/(.+)$")
|
||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)?(.+)$")
|
||||
DIALOGS_AT_ONCE = 100
|
||||
UPDATES_WORKERS = 2
|
||||
DOWNLOAD_WORKERS = 1
|
||||
|
Loading…
Reference in New Issue
Block a user