mod_cloud_notify/mod_cloud_notify.lua
changeset 4332 5a30daf2ac02
parent 4329 9b95241c6ae5
child 4336 7a5ca4b285cb
--- a/mod_cloud_notify/mod_cloud_notify.lua	Tue Jan 12 15:43:26 2021 +0000
+++ b/mod_cloud_notify/mod_cloud_notify.lua	Wed Jan 13 14:09:18 2021 +0000
@@ -359,6 +359,7 @@
 				node = node;
 				push_info = push_info;
 				push_summary = form_data;
+				important = not not form_data["last-message-body"];
 			};
 
 			if module:fire_event("cloud_notify/push", push_event) then