mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Revert "Default Telegram to MarkdownV2 when HTML disabled"
This reverts commit b9f04ac71a
.
Ref #1635
This commit is contained in:
parent
088bbd3bb6
commit
32ef43fe6e
1 changed files with 2 additions and 4 deletions
|
@ -3869,7 +3869,7 @@ class TELEGRAM(Notifier):
|
|||
'chat_id': '',
|
||||
'disable_web_preview': 0,
|
||||
'silent_notification': 0,
|
||||
'html_support': 0,
|
||||
'html_support': 1,
|
||||
'incl_subject': 1,
|
||||
'incl_poster': 0
|
||||
}
|
||||
|
@ -3884,8 +3884,6 @@ class TELEGRAM(Notifier):
|
|||
|
||||
if self.config['html_support']:
|
||||
data['parse_mode'] = 'HTML'
|
||||
else:
|
||||
data['parse_mode'] = 'MarkdownV2'
|
||||
|
||||
if self.config['incl_poster'] and kwargs.get('parameters'):
|
||||
# Grab formatted metadata
|
||||
|
@ -3965,7 +3963,7 @@ class TELEGRAM(Notifier):
|
|||
{'label': 'Enable HTML Support',
|
||||
'value': self.config['html_support'],
|
||||
'name': 'telegram_html_support',
|
||||
'description': 'Enable to style your messages using HTML. Disable to use Markdown instead.',
|
||||
'description': 'Style your messages using these HTML tags: b, i, a[href], code, pre.',
|
||||
'input_type': 'checkbox'
|
||||
},
|
||||
{'label': 'Disable Web Page Previews',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue