feat(AppNames): Handle Notifications for calendar updates
This commit is contained in:
parent
7762ad92f5
commit
f8bf6275f6
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
@ -63,6 +63,8 @@ def push_to_ntfy(url: str, token: str, topic: str, title: str, click = "", messa
|
||||||
def translate_app_name(app = str):
|
def translate_app_name(app = str):
|
||||||
if app == "spreed":
|
if app == "spreed":
|
||||||
return "Talk"
|
return "Talk"
|
||||||
|
elif app == "event_update_notification":
|
||||||
|
return "Calendar"
|
||||||
else:
|
else:
|
||||||
return app
|
return app
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue