mod_deny_omemo: Fix hook_result() type
This commit is contained in:
parent
89c5bc0546
commit
7d2a7aa418
|
@ -40,7 +40,8 @@
|
||||||
-define(DEVICELIST_NODE, ?NS_AXOLOTL ".devicelist").
|
-define(DEVICELIST_NODE, ?NS_AXOLOTL ".devicelist").
|
||||||
|
|
||||||
-type c2s_state() :: ejabberd_c2s:state().
|
-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.
|
%% gen_mod callbacks.
|
||||||
|
|
Loading…
Reference in New Issue