cloud_notify does not send push notifications for offline stanzas

23 views
Skip to first unread message

sirrosh69

unread,
May 23, 2022, 11:02:29 AM5/23/22
to Prosody IM Users
Hi,

struggling with push notifications here.
Discovered a very interesting (seems like an) issue: handle_notify_request is never successful for offline stanzas (looking at this hg repo from now on).

handle_notify_request() being invoked from a "message/offline/handle" hook never enters this _for_ loop, (line 326) as pairs() function returns nil from the first iteration.

So event.origin.push_identifier is _always_ nil if you try to peek into it just before the handle_notify_request() invocation (line 416).


Smells like a bug or just my screaming incompetence?

sirrosh69

unread,
May 25, 2022, 6:26:42 AM5/25/22
to Prosody IM Users
Hallo, anybody home? ;)

Dne pondělí 23. května 2022 v 17:02:29 UTC+2 uživatel sirrosh69 napsal:
Reply all
Reply to author
Forward
0 new messages