From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R7DTL-0004Wo-Je for garchives@archives.gentoo.org; Fri, 23 Sep 2011 21:39:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BA7321C164; Fri, 23 Sep 2011 21:39:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 104A621C164 for ; Fri, 23 Sep 2011 21:39:43 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B547641C1 for ; Fri, 23 Sep 2011 21:39:43 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2276) id 2FB4B20035; Fri, 23 Sep 2011 21:39:42 +0000 (UTC) From: "Andreas HAttel (dilfridge)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dilfridge@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-1.1-twitter.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: choqok-1.1-twitter.patch X-VCS-Directories: net-im/choqok/files X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas HAttel Content-Type: text/plain; charset=utf8 Message-Id: <20110923213942.2FB4B20035@flycatcher.gentoo.org> Date: Fri, 23 Sep 2011 21:39:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 5c38467d8b6e33db30c6865501d7047b dilfridge 11/09/23 21:39:42 Added: choqok-1.1-twitter.patch Log: Fix twitter authentication, bug 383307 =20 (Portage version: 2.1.10.19/cvs/Linux x86_64) Revision Changes Path 1.1 net-im/choqok/files/choqok-1.1-twitter.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/file= s/choqok-1.1-twitter.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/file= s/choqok-1.1-twitter.patch?rev=3D1.1&content-type=3Dtext/plain Index: choqok-1.1-twitter.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D commit 9053b699c33d998d3933a6c11e4ff624846620e5 Author: Mehrdad Momeny Date: Sun Jul 24 11:30:49 2011 +0800 BUG:275185 Get user friends list bug fixed diff --git a/helperlibs/twitterapihelper/twitterapimicroblog.cpp b/helper= libs/twitterapihelper/twitterapimicroblog.cpp index 1efbb1f..1a87d61 100644 --- a/helperlibs/twitterapihelper/twitterapimicroblog.cpp +++ b/helperlibs/twitterapihelper/twitterapimicroblog.cpp @@ -681,14 +681,18 @@ void TwitterApiMicroBlog::requestFriendsScreenName(= TwitterApiAccount* theAccount TwitterApiAccount* account =3D qobject_cast(theA= ccount); KUrl url =3D account->apiUrl(); url.addPath( QString("/statuses/friends.xml") ); + KUrl tmpUrl(url); url.addQueryItem( "cursor", d->friendsCursor ); + QOAuth::ParamMap params; + params.insert("cursor", d->friendsCursor.toLatin1()); =20 KIO::StoredTransferJob *job =3D KIO::storedGet( url, KIO::Reload, KI= O::HideProgressInfo ) ; if ( !job ) { kDebug() << "Cannot create an http GET request!"; return; } - job->addMetaData("customHTTPHeader", "Authorization: " + authorizati= onHeader(account, url, QOAuth::GET)); + job->addMetaData("customHTTPHeader", "Authorization: " + authorizati= onHeader(account, tmpUrl, + = QOAuth::GET, params)); mJobsAccount[job] =3D theAccount; connect( job, SIGNAL( result( KJob* ) ), this, SLOT( slotRequestFrie= ndsScreenName(KJob*) ) ); job->start();