mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 14:24:51 +00:00
Only match full t.me/joinchat links
This commit is contained in:
parent
d1b9886788
commit
1d9bb18a38
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ class Client:
|
|||
Thread pool size for handling incoming updates. Defaults to 4.
|
||||
"""
|
||||
|
||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)?([\w-]+)$")
|
||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)([\w-]+)$")
|
||||
DIALOGS_AT_ONCE = 100
|
||||
UPDATES_WORKERS = 1
|
||||
DOWNLOAD_WORKERS = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue