mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
change caps hook name
This commit is contained in:
parent
5ea909885e
commit
58a5ed9cdc
@ -245,7 +245,7 @@ c2s_presence_in(C2SState, {From, To, {_, _, Attrs, Els}}) ->
|
||||
{false, gb_trees:delete_any(LFrom, Rs)}
|
||||
end,
|
||||
if CapsUpdated ->
|
||||
ejabberd_hooks:run(caps_user_update, To#jid.lserver,
|
||||
ejabberd_hooks:run(caps_update, To#jid.lserver,
|
||||
[From, To, get_features(Caps)]);
|
||||
true ->
|
||||
ok
|
||||
|
Loading…
Reference in New Issue
Block a user