Skip to content

Commit

Permalink
chatid bumped to 32 characters; refs #28
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Aug 20, 2017
1 parent d41bc01 commit 0471a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Notify/pnotify/NotifyTelegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Telegram Notify Wrapper
#
# Copyright (C) 2016 Chris Caron <lead2gold@gmail.com>
# Copyright (C) 2016-2017 Chris Caron <lead2gold@gmail.com>
#
# This file is part of NZB-Notify.
#
Expand Down Expand Up @@ -69,7 +69,7 @@
# If the Chat ID is positive, then it's addressed to a single person
# If the Chat ID is negative, then it's targeting a group
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,32})|(?P<name>[a-z_-][a-z0-9_-]*))',
re.IGNORECASE,
)

Expand Down

0 comments on commit 0471a7b

Please sign in to comment.