Changeset 73efe3a for protocols


Ignore:
Timestamp:
2010-08-14T11:07:45Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
12767e3
Parents:
4e4af1b
Message:

Allow Passport authentication with @msn.com accounts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/soap.c

    r4e4af1b r73efe3a  
    161161        struct im_connection *ic = soap_req->ic;
    162162       
    163         soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL );
     163        if( g_str_has_suffix( ic->acc->user, "@msn.com" ) )
     164                soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL_MSN );
     165        else
     166                soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL );
     167       
    164168        soap_req->payload = g_markup_printf_escaped( SOAP_PASSPORT_SSO_PAYLOAD,
    165169                ic->acc->user, ic->acc->pass, sd->policy );
Note: See TracChangeset for help on using the changeset viewer.