# HG changeset patch # User Kim Alvefur # Date 1445608213 -7200 # Node ID e170b11b60b89b966cdf0f189d66419bca2674fa # Parent 20ee32f620b9a4aa3dd8890726a61f509cbb8749 mod_cloud_notify: Save list of push services diff -r 20ee32f620b9 -r e170b11b60b8 mod_cloud_notify/mod_cloud_notify.lua --- a/mod_cloud_notify/mod_cloud_notify.lua Thu Oct 22 15:56:11 2015 +0200 +++ b/mod_cloud_notify/mod_cloud_notify.lua Fri Oct 23 15:50:13 2015 +0200 @@ -38,6 +38,7 @@ local user_push_services = push_enabled[origin.username]; if not user_push_services then user_push_services = {}; + push_enabled[origin.username] = user_push_services; end user_push_services[push_jid .. "<" .. (push_node or "")] = { jid = push_jid;