# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1657707343 -3600
# Node ID 031e0dd90f4bcc2c9ca911bbafbcd25252928d57
# Parent  cb3de818ff55063611fb8ef6718b7f913ae89a07
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.

diff -r cb3de818ff55 -r 031e0dd90f4b mod_cloud_notify/mod_cloud_notify.lua
--- 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"];