Ignore:
Timestamp:
Jun 15, 2009 4:03:40 PM (15 years ago)
Author:
bennylp
Message:

Ticket #873: Include the parsed XML tuple in the pjsip_pres_status, and include it in the pjsua_buddy_info in PJSUA-LIB, in case the PIDF document contains other info that is needed by application (thanks Johan Lantz for the suggestion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c

    r2661 r2762  
    167167    total += info->contact.slen; 
    168168 
     169    /* Presence status */ 
     170    pj_memcpy(&info->pres_status, &buddy->status, sizeof(pjsip_pres_status)); 
     171 
    169172    /* status and status text */     
    170173    if (buddy->sub == NULL || buddy->status.info_cnt==0) { 
Note: See TracChangeset for help on using the changeset viewer.