mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
added event / suject to notifcation text
This commit is contained in:
parent
8ebfa20db0
commit
6cbfacaeae
1 changed files with 1 additions and 1 deletions
|
@ -1455,7 +1455,7 @@ class TELEGRAM(object):
|
||||||
http_handler = HTTPSConnection("api.telegram.org")
|
http_handler = HTTPSConnection("api.telegram.org")
|
||||||
|
|
||||||
data = {'chat_id': self.chat_id,
|
data = {'chat_id': self.chat_id,
|
||||||
'text': message.encode("utf-8")}
|
'text': event + ': ' + message.encode("utf-8")}
|
||||||
|
|
||||||
http_handler.request("POST",
|
http_handler.request("POST",
|
||||||
"/bot%s/%s" % (self.bot_token, "sendMessage"),
|
"/bot%s/%s" % (self.bot_token, "sendMessage"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue