diff plugins/mod_cloud_notify.lua @ 14168:4f4c346e4f39

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 19 May 2026 19:27:43 +0100
parents f149652cb5ff
children
line wrap: on
line diff
--- a/plugins/mod_cloud_notify.lua	Wed Apr 29 21:41:10 2026 +0200
+++ b/plugins/mod_cloud_notify.lua	Tue May 19 19:27:43 2026 +0100
@@ -397,8 +397,8 @@
 				id2identifier[stanza_id] = push_identifier;
 				module:send_iq(push_publish):next(handle_push_success, handle_push_error):finally(function ()
 					-- unhook iq handlers for this identifier (if possible)
-					id2node[stanza.attr.id] = nil;
-					id2identifier[stanza.attr.id] = nil;
+					id2node[stanza_id] = nil;
+					id2identifier[stanza_id] = nil;
 				end);
 				pushes = pushes + 1;
 			end