callerid: use invite instead of can_invite hook
This commit is contained in:
parent
7b60cca0f1
commit
db80763427
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ add_callerid_accept_for_source(enum message_type msgtype, struct Client *source_
|
|||
}
|
||||
|
||||
static void
|
||||
h_can_invite(void *vdata)
|
||||
h_hdl_invite(void *vdata)
|
||||
{
|
||||
hook_data_channel_approval *data = vdata;
|
||||
struct Client *source_p = data->client;
|
||||
|
@ -218,7 +218,7 @@ h_hdl_privmsg_user(void *vdata)
|
|||
}
|
||||
|
||||
static mapi_hfn_list_av1 um_callerid_hfnlist[] = {
|
||||
{ "can_invite", h_can_invite },
|
||||
{ "invite", h_hdl_invite },
|
||||
{ "privmsg_user", h_hdl_privmsg_user },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue