mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-07 06:51:35 +01:00
This commit is contained in:
@@ -58,6 +58,8 @@ def ntfy_send(dispatch_uuid, user_topic, title, message, ntfy_push_target, ntfy_
|
|||||||
'''Send message via NTFY topic'''
|
'''Send message via NTFY topic'''
|
||||||
|
|
||||||
# limit message length and title #
|
# limit message length and title #
|
||||||
|
title = title or ""
|
||||||
|
message = message or ""
|
||||||
message = message[:1024]
|
message = message[:1024]
|
||||||
title = title[:512]
|
title = title[:512]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user