Ignore:
Timestamp:
2010-08-15T18:46:10Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
80175a1
Parents:
9b01339
Message:

Making display name code a bit saner. Apparently PoS MSN is still suffering
from display_name amnesia a little bit though at least with Hotmail accounts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/soap.c

    r9b01339 re0e1546  
    687687        struct msn_soap_req_data *soap_req = data;
    688688        struct im_connection *ic = soap_req->ic;
     689        struct msn_data *md = soap_req->ic->proto_data;
    689690        struct msn_group *group;
    690691       
     
    704705        if( type && g_strcasecmp( type, "me" ) == 0 )
    705706        {
     707#if 0
     708                g_free( md->myid );
     709                md->myid = g_strdup( id );
     710#endif         
    706711                set_t *set = set_find( &ic->acc->set, "display_name" );
    707712                g_free( set->value );
     
    766771        soap_req->action = g_strdup( SOAP_AB_NAMECHANGE_ACTION );
    767772        soap_req->payload = msn_soap_abservice_build( SOAP_AB_NAMECHANGE_PAYLOAD,
    768                 "Initial", md->tokens[1], (char *) soap_req->data );
     773                "Timer", md->tokens[1], (char *) soap_req->data );
    769774       
    770775        return 1;
Note: See TracChangeset for help on using the changeset viewer.