mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Allow to update state from muc_process_iq hook
This commit is contained in:
parent
1114a35e0a
commit
70cbdd1117
@ -474,6 +474,8 @@ normal_state({route, <<"">>,
|
||||
[StateData]) of
|
||||
ignore ->
|
||||
{next_state, normal_state, StateData};
|
||||
{ignore, StateData2} ->
|
||||
{next_state, normal_state, StateData2};
|
||||
#iq{type = T} = IQRes when T == error; T == result ->
|
||||
ejabberd_router:route(IQRes),
|
||||
{next_state, normal_state, StateData};
|
||||
|
Loading…
Reference in New Issue
Block a user