25
1
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:
Evgeniy Khramtsov 2010-10-03 16:04:29 +10:00
parent 5ea909885e
commit 58a5ed9cdc

View File

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