Changeset 5f40da7 for protocols/nogaim.c


Ignore:
Timestamp:
2011-12-26T10:51:19Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
199fea6
Parents:
96f954d (diff), 644b808 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging oauth-xmpp branch, which adds support for OAuth2 authentication
against some XMPP services (Google Talk, Facebook and Microsoft's MSN-XMPP
gateway).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r96f954d r5f40da7  
    327327        imcb_log( ic, "Signing off.." );
    328328       
     329        /* TBH I don't remember anymore why I didn't just use ic->acc... */
     330        for( a = bee->accounts; a; a = a->next )
     331                if( a->ic == ic )
     332                        break;
     333       
     334        if( a && !allow_reconnect && !( ic->flags & OPT_LOGGED_IN ) &&
     335            set_getbool( &a->set, "oauth" ) )
     336        {
     337                /* If this account supports OAuth, we're not logged in yet and
     338                   not allowed to retry, assume there were auth issues. Give a
     339                   helpful message on what might be necessary to fix this. */
     340                imcb_log( ic, "If you're having problems logging in, try re-requesting "
     341                          "an OAuth token: account %s set password \"\"", a->tag );
     342        }
     343       
    329344        for( l = bee->users; l; )
    330345        {
     
    347362       
    348363        query_del_by_conn( (irc_t*) ic->bee->ui_data, ic );
    349        
    350         for( a = bee->accounts; a; a = a->next )
    351                 if( a->ic == ic )
    352                         break;
    353364       
    354365        if( !a )
Note: See TracChangeset for help on using the changeset viewer.