diff --git a/mod_deny_omemo/src/mod_deny_omemo.erl b/mod_deny_omemo/src/mod_deny_omemo.erl index f7458e0..b163e75 100644 --- a/mod_deny_omemo/src/mod_deny_omemo.erl +++ b/mod_deny_omemo/src/mod_deny_omemo.erl @@ -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">>,