author | Kim Alvefur <zash@zash.se> |
Fri, 23 Oct 2015 15:50:13 +0200 | |
changeset 1926 | e170b11b60b8 |
parent 1925 | 20ee32f620b9 |
child 1927 | b030e46ec640 |
--- 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;