Comparison

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
comparison
equal deleted inserted replaced
4465:2a7a76712e71 4466:38bd4d557413
85 if media_type then 85 if media_type then
86 media_types:add(media_type); 86 media_types:add(media_type);
87 end 87 end
88 end 88 end
89 push_payload.media = array.collect(media_types:items()); 89 push_payload.media = array.collect(media_types:items());
90 push_payload.sender = original_stanza.attr.from;
90 else 91 else
91 push_payload.type = "chat"; 92 push_payload.type = "chat";
92 end 93 end
93 end 94 end
94 elseif original_stanza.name == "presence" 95 elseif original_stanza.name == "presence"