Diff

mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua @ 4466:38bd4d557413

mod_cloud_notify_encrypted: Include full JID of sender with call notifications, per spec
author Matthew Wild <mwild1@gmail.com>
date Tue, 23 Feb 2021 16:37:06 +0000
parent 4465:2a7a76712e71
child 4467:6d595857164a
line wrap: on
line diff
--- a/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua	Tue Feb 23 16:10:13 2021 +0000
+++ b/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua	Tue Feb 23 16:37:06 2021 +0000
@@ -87,6 +87,7 @@
 					end
 				end
 				push_payload.media = array.collect(media_types:items());
+				push_payload.sender = original_stanza.attr.from;
 			else
 				push_payload.type = "chat";
 			end