mirror of
https://github.com/moparisthebest/prosody-otr
synced 2024-10-31 15:35:05 -04:00
Add support for XEP-0373 OX PGP chat
This commit is contained in:
parent
aca3b89983
commit
bdb3c7437a
@ -80,6 +80,11 @@ local function check_message_otr(event)
|
||||
return nil;
|
||||
end
|
||||
|
||||
-- check xep373 pgp (OX) https://xmpp.org/extensions/xep-0373.html
|
||||
if event.stanza:get_child("openpgp", "urn:xmpp:openpgp:0") then
|
||||
return nil;
|
||||
end
|
||||
|
||||
-- no valid encryption found
|
||||
|
||||
-- Warn the user that OTR will not work on MUC but let the message pass.
|
||||
|
Loading…
Reference in New Issue
Block a user