mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix use of tg://join?invite= channels
This commit is contained in:
parent
5754ad589f
commit
fefd6f0e6d
|
@ -53,7 +53,7 @@ USERNAME_RE = re.compile(
|
|||
r'@|(?:https?://)?(?:www\.)?(?:telegram\.(?:me|dog)|t\.me)/(joinchat/)?'
|
||||
)
|
||||
TG_JOIN_RE = re.compile(
|
||||
r'tg://(join)?invite='
|
||||
r'tg://(join)\?invite='
|
||||
)
|
||||
|
||||
# The only shorter-than-five-characters usernames are those used for some
|
||||
|
|
Loading…
Reference in New Issue
Block a user