summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-11-06 10:33:05 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-11-06 10:33:05 +0000
commitb8f1ca919b39e9fe5e788af8ecd2c491dafbaac5 (patch)
tree698eeb525d0476ac44edc5187e176c01008932f1 /net-im/kmess/files
parentVersion bump proxied for Troy Bowman in bug 388711. (diff)
downloadgentoo-2-b8f1ca919b39e9fe5e788af8ecd2c491dafbaac5.tar.gz
gentoo-2-b8f1ca919b39e9fe5e788af8ecd2c491dafbaac5.tar.bz2
gentoo-2-b8f1ca919b39e9fe5e788af8ecd2c491dafbaac5.zip
Apply patch from http://kmess.org/board/viewtopic.php?f=4&t=20549 to fix recent contact list problem
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'net-im/kmess/files')
-rw-r--r--net-im/kmess/files/kmess-2.0.6-contact-list.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-im/kmess/files/kmess-2.0.6-contact-list.patch b/net-im/kmess/files/kmess-2.0.6-contact-list.patch
new file mode 100644
index 000000000000..59f8c4099fb4
--- /dev/null
+++ b/net-im/kmess/files/kmess-2.0.6-contact-list.patch
@@ -0,0 +1,38 @@
+Index: kmess-2.0.6/src/network/soap/addressbookservice.cpp
+===================================================================
+--- kmess-2.0.6.orig/src/network/soap/addressbookservice.cpp
++++ kmess-2.0.6/src/network/soap/addressbookservice.cpp
+@@ -35,13 +35,12 @@
+ /**
+ * @brief URL of the Address Book Service
+ */
+-#define SERVICE_URL_ADDRESSBOOK "https://omega.contacts.msn.com/abservice/abservice.asmx"
++#define SERVICE_URL_ADDRESSBOOK "https://local-sn.contacts.msn.com/abservice/abservice.asmx"
+
+ /**
+ * @brief URL of the Address Book Sharing Service
+ */
+-#define SERVICE_URL_ADDRESSBOOK_SHARING "https://omega.contacts.msn.com/abservice/SharingService.asmx"
+-
++#define SERVICE_URL_ADDRESSBOOK_SHARING "https://local-sn.contacts.msn.com/abservice/SharingService.asmx"
+
+
+ /**
+Index: kmess-2.0.6/src/network/soap/httpsoapconnection.cpp
+===================================================================
+--- kmess-2.0.6.orig/src/network/soap/httpsoapconnection.cpp
++++ kmess-2.0.6/src/network/soap/httpsoapconnection.cpp
+@@ -546,6 +546,13 @@ void HttpSoapConnection::slotRequestFini
+ kmDebug() << "Received hostname suggestion from:" << originalUrl << "to:" << preferredHostName;
+ #endif
+
++ if( preferredHostName.compare("proxy-sn.contacts.msn.com") == 0 )
++ {
++#ifdef KMESSDEBUG_HTTPSOAPCONNECTION_GENERAL
++ kmDebug() << "Overriding hostname" << preferredHostName << "with local-sn.contacts.msn.com";
++#endif
++ preferredHostName = "local-sn.contacts.msn.com";
++ }
+ redirectionCounts_[ originalHost ] = 0;
+ redirections_[ originalHost ] = preferredHostName;
+ }