From 58a5ed9cdc30a1ad2e42670979cd0c5326ae8b96 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Sun, 3 Oct 2010 16:04:29 +1000 Subject: [PATCH] change caps hook name --- src/mod_caps.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_caps.erl b/src/mod_caps.erl index 6c17948bd..962339592 100644 --- a/src/mod_caps.erl +++ b/src/mod_caps.erl @@ -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