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 1Pdl60-000336-J0 for garchives@archives.gentoo.org; Fri, 14 Jan 2011 14:57:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD4CFE073F; Fri, 14 Jan 2011 14:57:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8B771E073F for ; Fri, 14 Jan 2011 14:57:36 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E5A11B414C for ; Fri, 14 Jan 2011 14:57:36 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2238) id 9FA3620054; Fri, 14 Jan 2011 14:57:34 +0000 (UTC) From: "Markos Chandras (hwoarang)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, hwoarang@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-im/kmess/files: 2.0.5-msn_login_url_fix.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: 2.0.5-msn_login_url_fix.patch X-VCS-Directories: net-im/kmess/files X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras Content-Type: text/plain; charset=utf8 Message-Id: <20110114145734.9FA3620054@flycatcher.gentoo.org> Date: Fri, 14 Jan 2011 14:57:34 +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: ff863bd1-a245-46da-a2b8-0a70e14e224c X-Archives-Hash: fc76420d39ba50f0b874078e59266712 hwoarang 11/01/14 14:57:34 Added: 2.0.5-msn_login_url_fix.patch Log: Apply upstream patch to fix login problems =20 (Portage version: 2.2.0_alpha15/cvs/Linux x86_64) Revision Changes Path 1.1 net-im/kmess/files/2.0.5-msn_login_url_fix.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kmess/files= /2.0.5-msn_login_url_fix.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kmess/files= /2.0.5-msn_login_url_fix.patch?rev=3D1.1&content-type=3Dtext/plain Index: 2.0.5-msn_login_url_fix.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 2011-01-08 (Valerio) * Fixed crash when taking any action in the Contact Added User dialog. Also removed an unnecessary signal-bouncing slot. --- a/src/network/msnnotificationconnection.cpp +++ b/src/network/msnnotificationconnection.cpp @@ -1029,16 +1029,12 @@ hash.insert( QString::number(ack), "INBOX" ); =20 // Ask for compose URL - ack =3D sendCommand("URL", "COMPOSE"); + ack =3D sendCommand("URL", "COMPOSE some.invalid@kmess.email" ); hash.insert( QString::number(ack), "COMPOSE" ); =20 // Ask the personal profile URL - ack =3D sendCommand("URL", "PROFILE"); + ack =3D sendCommand("URL", "PROFILE 0x" + QString::number( CurrentAc= count::instance()->getLanguageCode().toInt(), 8 ) ); hash.insert( QString::number(ack), "PROFILE" ); - - // Ask the URL for change account info - ack =3D sendCommand("URL", "PERSON"); - hash.insert( QString::number(ack), "PERSON" ); } =20 // Notify observers that the server is connected --- a/src/utils/kmessshared.cpp +++ b/src/utils/kmessshared.cpp @@ -139,13 +139,11 @@ return QString(); } =20 + // this will have our (urlencoded) dodgy email address we used to sati= sfy URL COMPOSE + // at the initial login. replace it where we actually want it to go. QString command( folder ); - - // Check if the user wants to send an email - if( ! mailto.isEmpty() ) - { - command +=3D "?mailto=3D1&to=3D" + mailto; - } + =20 + command =3D command.replace( "some.invalid%40kmess.email", mailto ); =20 // Use the method into passport to compute the token QString token( PassportLoginService::createHotmailToken( currentAccoun= t->getToken( "Passport" ),