diff options
Diffstat (limited to 'libs/apprise/plugins/NotifyGotify.py')
-rw-r--r-- | libs/apprise/plugins/NotifyGotify.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/apprise/plugins/NotifyGotify.py b/libs/apprise/plugins/NotifyGotify.py index a04a69526..3b8b17589 100644 --- a/libs/apprise/plugins/NotifyGotify.py +++ b/libs/apprise/plugins/NotifyGotify.py @@ -35,7 +35,7 @@ import requests from json import dumps from .NotifyBase import NotifyBase -from ..common import NotifyType +from ..common import NotifyType, NotifyFormat from ..utils import validate_regex from ..AppriseLocale import gettext_lazy as _ @@ -182,6 +182,13 @@ class NotifyGotify(NotifyBase): 'message': body, } + if self.notify_format == NotifyFormat.MARKDOWN: + payload["extras"] = { + "client::display": { + "contentType": "text/markdown" + } + } + # Our headers headers = { 'User-Agent': self.app_id, |