mod_deny_omemo: Fix node deletion

This commit is contained in:
Holger Weiss 2018-03-26 01:08:40 +02:00
parent d84204bdb8
commit d783cc7cca
1 changed files with 1 additions and 1 deletions

View File

@ -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">>,