diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-27 09:04:24 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-10-27 09:04:24 +0000 |
commit | 3493aade67d1b80576777bddb8450a09987b1582 (patch) | |
tree | d13bb42fc867e37b1a4d5ddb1ed76310773186f3 /protocols/Twitter/src/connection.cpp | |
parent | 22aa69a8d572fa38305471698da4340b93aa4290 (diff) |
Twitter version bump to 1.0.0.3, version standardization, description update in russian langpack
git-svn-id: http://svn.miranda-ng.org/main/trunk@2090 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/connection.cpp')
-rw-r--r-- | protocols/Twitter/src/connection.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index b7bfadfdf0..d7d6ba9b16 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -137,7 +137,7 @@ bool TwitterProto::NegotiateConnection() // twitter changed the base URL in v1.1 of the API, I don't think users will need to modify it, so
// i'll be forcing it to the new API URL here. After a while I can get rid of this as users will
// have either had this run at least once, or have reset their miranda profile. 14/10/2012
- DBWriteContactSettingString(0,m_szModuleName,TWITTER_KEY_BASEURL,"https://api.twitter.com/1.1/");
+ //DBWriteContactSettingString(0,m_szModuleName,TWITTER_KEY_BASEURL,"https://api.twitter.com/1.1/");
if((oauthToken.size() <= 1) || (oauthTokenSecret.size() <= 1)) {
// first, reset all the keys so we can start fresh
@@ -381,7 +381,7 @@ void TwitterProto::MessageLoop(void*) if(m_iStatus != ID_STATUS_ONLINE)
goto exit;
- if(i%4 == 0)
+ if(i%10 == 0)
UpdateFriends();
if(m_iStatus != ID_STATUS_ONLINE)
@@ -390,7 +390,9 @@ void TwitterProto::MessageLoop(void*) if(m_iStatus != ID_STATUS_ONLINE)
goto exit;
- UpdateMessages(new_account);
+
+ if(i%10 == 0)
+ UpdateMessages(new_account);
if(new_account) // Not anymore!
{
|