Changeset e306fbf


Ignore:
Timestamp:
2011-12-21T19:35:13Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
164352e
Parents:
31db8165
Message:

Fixed a bug that probably (can't test this now since it's down) broke OAuth
setup for identi.ca. Turning on oauth for identi.ca accounts by default now.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth.c

    r31db8165 re306fbf  
    309309                oauth_params_parse( &params, req->reply_body );
    310310                st->request_token = g_strdup( oauth_params_get( &params, "oauth_token" ) );
     311                st->token_secret = g_strdup( oauth_params_get( &params, "oauth_token_secret" ) );
    311312                oauth_params_free( &params );
    312313        }
     
    338339                oauth_params_parse( &st->params, req->reply_body );
    339340                st->token = g_strdup( oauth_params_get( &st->params, "oauth_token" ) );
     341                g_free( st->token_secret );
    340342                st->token_secret = g_strdup( oauth_params_get( &st->params, "oauth_token_secret" ) );
    341343        }
  • protocols/twitter/twitter.c

    r31db8165 re306fbf  
    220220        } else {                /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
    221221                def_url = IDENTICA_API_URL;
    222                 def_oauth = "false";
     222                def_oauth = "true";
    223223        }
    224224
Note: See TracChangeset for help on using the changeset viewer.