author | Stephen Paul Weber <singpolyma@singpolyma.net> |
Sun, 25 Feb 2024 19:10:30 -0500 | |
changeset 5849 | 83ee752f148c |
parent 5848 | 37e38ee534ea |
child 5850 | 8b868c00e38e |
--- a/mod_push2/mod_push2.lua Sun Feb 25 15:28:45 2024 +0000 +++ b/mod_push2/mod_push2.lua Sun Feb 25 19:10:30 2024 -0500 @@ -536,7 +536,7 @@ -- only notify if the stanza destination is the mam user we store it for if event.for_user == to then - local user_push_services = push2_registrations:get(to) + local user_push_services = push2_registrations:get(to) or {} -- Urgent stanzas are time-sensitive (e.g. calls) and should -- be pushed immediately to avoid getting stuck in the smacks