Software /
code /
prosody-modules
Changeset
4328:5a30daf2ac02
mod_cloud_notify: Include 'important' flag in push event data
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 Jan 2021 14:09:18 +0000 |
parents | 4327:beb3342f1137 |
children | 4329:2a5164162708 |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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