Skip to content

Commit

Permalink
Merge pull request #6 from pantan-cymk/title-utf8
Browse files Browse the repository at this point in the history
Title encoding is not specified as utf-8
  • Loading branch information
HBrennhaeuser authored Apr 1, 2024
2 parents 302962a + 8256d22 commit fa78db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ntfy/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def send_message(self, message="", **kwargs):
req_data=message.encode('utf-8')

if title is not None:
req_headers["Title"] = title
req_headers["Title"] = title.encode('utf-8')

if "tags" in data:
# TODO: validate tag format
Expand Down

0 comments on commit fa78db6

Please sign in to comment.