From 7d2a7aa41875c4db4024f3a3d3b95093d46b70de Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 27 Mar 2018 00:21:35 +0200 Subject: [PATCH] mod_deny_omemo: Fix hook_result() type --- mod_deny_omemo/src/mod_deny_omemo.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod_deny_omemo/src/mod_deny_omemo.erl b/mod_deny_omemo/src/mod_deny_omemo.erl index bd7dc68..4171cf5 100644 --- a/mod_deny_omemo/src/mod_deny_omemo.erl +++ b/mod_deny_omemo/src/mod_deny_omemo.erl @@ -40,7 +40,8 @@ -define(DEVICELIST_NODE, ?NS_AXOLOTL ".devicelist"). -type c2s_state() :: ejabberd_c2s:state(). --type hook_result() :: {stanza(), c2s_state()} | {stop, {drop, c2s_state()}}. +-type hook_result() :: {stanza() | drop, c2s_state()} | + {stop, {drop, c2s_state()}}. %%-------------------------------------------------------------------- %% gen_mod callbacks.