Ignore:
Timestamp:
Aug 25, 2007 1:36:15 PM (17 years ago)
Author:
bennylp
Message:

Implement ticket #336: custom presence status in NOTIFY/PUBLISH, supporting subset of RPID elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/presence_body.c

    r1241 r1424  
    102102    } 
    103103 
     104    /* Create <person> (RPID) */ 
     105    if (status->info_cnt) { 
     106        pjrpid_add_element(pidf, pool, 0, &status->info[0].rpid); 
     107    } 
     108 
    104109    body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); 
    105110    body->data = pidf; 
     
    197202    } 
    198203 
     204    /* Parse <person> (RPID) */ 
     205    pjrpid_get_element(pidf, pool, &pres_status->info[0].rpid); 
     206 
    199207    return PJ_SUCCESS; 
    200208} 
Note: See TracChangeset for help on using the changeset viewer.