mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 11:38:36 -07:00
Merge pull request #1326 from samwiseg00/update/telegram_limit
Update character limit for telegram to reflect API changes.
This commit is contained in:
commit
5c54283df7
1 changed files with 1 additions and 1 deletions
|
@ -3409,7 +3409,7 @@ class TELEGRAM(Notifier):
|
|||
poster_filename = 'poster_{}.png'.format(pretty_metadata.parameters['rating_key'])
|
||||
files = {'photo': (poster_filename, poster_content, 'image/png')}
|
||||
|
||||
if len(text) > 200:
|
||||
if len(text) > 1024:
|
||||
data['disable_notification'] = True
|
||||
else:
|
||||
data['caption'] = text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue