提交 375f1b38 authored 作者: Anthony Minessale's avatar Anthony Minessale

xmas presence

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3721 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 55d0882f
......@@ -306,7 +306,8 @@ static void pres_event_handler(switch_event_t *event)
}
switch(event->event_id) {
case SWITCH_EVENT_PRESENCE_PROBE: {
case SWITCH_EVENT_PRESENCE_PROBE:
if (proto && !strcasecmp(proto, MDL_CHAT_PROTO)) {
char *sql;
switch_core_db_t *db;
char *errmsg;
......
......@@ -5326,7 +5326,8 @@ static void pres_event_handler(switch_event_t *event)
switch(event->event_id) {
case SWITCH_EVENT_PRESENCE_PROBE: {
case SWITCH_EVENT_PRESENCE_PROBE:
if (proto && !strcasecmp(proto, SOFIA_CHAT_PROTO)) {
switch_core_db_t *db;
char *to = switch_event_get_header(event, "to");
char *user, *host;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论