Plugins/Twitter Plugin/AITwitterAccount.m
changeset 2725 9c30ee53dcef
parent 2520 f9e4063ed226
child 2907 68b337afb9d4
     1.1 --- a/Plugins/Twitter Plugin/AITwitterAccount.m	Fri Jun 26 12:49:47 2009 -0400
     1.2 +++ b/Plugins/Twitter Plugin/AITwitterAccount.m	Fri Oct 16 10:12:34 2009 -0400
     1.3 @@ -147,6 +147,8 @@
     1.4  	
     1.5  	[twitterEngine setAPIDomain:[self.host stringByAppendingPathComponent:self.apiPath]];
     1.6  	
     1.7 +	[twitterEngine setUsesSecureConnection:self.useSSL];
     1.8 +	
     1.9  	if (self.useOAuth) {
    1.10  		if (!self.passwordWhileConnected.length) {
    1.11  			[self setLastDisconnectionError:TWITTER_OAUTH_NOT_AUTHORIZED];
    1.12 @@ -289,6 +291,14 @@
    1.13  }
    1.14  
    1.15  /*!
    1.16 + * @brief Returns whether or not to connect to Twitter API over HTTPS.
    1.17 + */
    1.18 +- (BOOL)useSSL
    1.19 +{
    1.20 +	return YES;
    1.21 +}
    1.22 +
    1.23 +/*!
    1.24   * @brief Returns whether or not this account is connected via an encrypted connection.
    1.25   */
    1.26  - (BOOL)encrypted