Changeset

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
parents 4465:2a7a76712e71
children 4467:6d595857164a
files mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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