mod_deny_omemo: Fix hook_result() type

This commit is contained in:
Holger Weiss 2018-03-27 00:21:35 +02:00
parent 89c5bc0546
commit 7d2a7aa418
1 changed files with 2 additions and 1 deletions

View File

@ -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.