Skip to content

Commit

Permalink
Fix use of tg://join?invite= channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed May 12, 2019
1 parent 5754ad5 commit fefd6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telethon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 53,7 @@
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
Expand Down

0 comments on commit fefd6f0

Please sign in to comment.