Skip to content

Commit

Permalink
added support for telegram groups
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Feb 28, 2017
1 parent 9a9db79 commit 7ee2065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Notify/pnotify/NotifyTelegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

# Chat ID is required
IS_CHAT_ID_RE = re.compile(
r'(@*(?P<idno>[0-9]{1,10})|(?P<name>[a-z_-][a-z0-9_-]*))',
r'(@*(?P<idno>-?[0-9]{1,10})|(?P<name>[a-z_-][a-z0-9_-]*))',
re.IGNORECASE,
)

Expand Down

0 comments on commit 7ee2065

Please sign in to comment.