Ignore:
Timestamp:
Aug 25, 2007 1:36:15 PM (15 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.c

    r1396 r1424  
    391391                  &pres->status.info[i].contact, 
    392392                  &status->info[i].contact); 
     393 
     394        /* Duplicate <person> */ 
     395        pres->status.info[i].rpid.activity =  
     396            status->info[i].rpid.activity; 
     397        pj_strdup(pres->dlg->pool,  
     398                  &pres->status.info[i].rpid.id, 
     399                  &status->info[i].rpid.id); 
     400        pj_strdup(pres->dlg->pool, 
     401                  &pres->status.info[i].rpid.note, 
     402                  &status->info[i].rpid.note); 
     403 
    393404    } 
    394405 
Note: See TracChangeset for help on using the changeset viewer.