Changeset f4b0911 for protocols


Ignore:
Timestamp:
2010-05-01T14:10:32Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3b878a1
Parents:
c2ecadc
Message:

Save the credentials again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rc2ecadc rf4b0911  
    124124                /* IM mods didn't do this so far and it's ugly but I should
    125125                   be able to get away with it... */
    126                 //g_free( ic->acc->pass );
    127                 //ic->acc->pass = g_strdup( info->access_token );
     126                g_free( ic->acc->pass );
     127                ic->acc->pass = oauth_to_string( info );
    128128               
    129129                twitter_main_loop_start( ic );
     
    171171        if( !set_getbool( &acc->set, "oauth" ) )
    172172                td->pass = g_strdup( acc->pass );
    173         //else if( strstr( acc->pass, "oauth_token=" ) )
    174         //      td->oauth = g_strdup( acc->pass );
     173        else if( strstr( acc->pass, "oauth_token=" ) )
     174                td->oauth_info = oauth_from_string( acc->pass, &twitter_oauth );
    175175        td->home_timeline_id = 0;
    176176       
Note: See TracChangeset for help on using the changeset viewer.