Software /
code /
prosody-modules
Diff
mod_cloud_notify/mod_cloud_notify.lua @ 4996:031e0dd90f4b
mod_cloud_notify: Rename field in event for clarity ('node' is ambiguous here)
...because the push protocol is based on XEP-0060, and the 'node' can mean the
identifier communicated to the push service.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 13 Jul 2022 11:15:43 +0100 |
parent | 4980:da151f9af861 |
child | 5052:d7ece68de066 |
line wrap: on
line diff
--- a/mod_cloud_notify/mod_cloud_notify.lua Wed Jul 13 11:14:04 2022 +0100 +++ b/mod_cloud_notify/mod_cloud_notify.lua Wed Jul 13 11:15:43 2022 +0100 @@ -390,7 +390,7 @@ notification_stanza = push_publish; notification_payload = push_notification_payload; original_stanza = stanza; - node = node; + username = node; push_info = push_info; push_summary = form_data; important = not not form_data["last-message-body"];