Software /
code /
prosody-modules
Changeset
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 |
parents | 4995:cb3de818ff55 |
children | 4997:1b5869c34026 |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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"];