mod_deny_omemo: Fix node deletion
This commit is contained in:
parent
d84204bdb8
commit
d783cc7cca
|
@ -153,7 +153,7 @@ maybe_reject(El, {#iq{type = Type, lang = Lang} = IQ,
|
|||
Nodes ->
|
||||
?DEBUG("Rejecting IQ ~s of ~s", [Type, jid:encode(JID)]),
|
||||
case Type of
|
||||
set -> delete_nodes(IQ, Nodes);
|
||||
set -> delete_nodes(JID, Nodes);
|
||||
get -> ok
|
||||
end,
|
||||
Txt = <<"OMEMO is disabled">>,
|
||||
|
|
Loading…
Reference in New Issue