fix illegal characters in presence xml

This commit is contained in:
Simon Morlat 2010-08-18 11:24:38 +02:00
parent 6129ecf51b
commit 9d37f3591a

View file

@ -176,9 +176,9 @@ static void add_presence_body(osip_message_t *notify, SalPresenceStatus online_s
#endif
char *contact_info;
osip_contact_t *ct=NULL;
osip_message_get_contact(notify,0,&ct);
osip_contact_to_str(ct,&contact_info);
osip_from_t *from=NULL;
from=osip_message_get_from(notify);
osip_uri_to_str(from->url,&contact_info);
#ifdef SUPPORT_MSN