# HG changeset patch # User Matthew Wild # Date 1610546958 0 # Node ID 5a30daf2ac027555a07f41f4a2ce001b9e685bcb # Parent beb3342f11372ca3d467eff87c0d5bc743a5a1e2 mod_cloud_notify: Include 'important' flag in push event data diff -r beb3342f1137 -r 5a30daf2ac02 mod_cloud_notify/mod_cloud_notify.lua --- 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