From d783cc7ccabd02438dc3a5e364088998f862b020 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 26 Mar 2018 01:08:40 +0200 Subject: [PATCH] mod_deny_omemo: Fix node deletion --- mod_deny_omemo/src/mod_deny_omemo.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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">>,