From e00435be5c63396933259ef554dc02a1cbf74f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 11 Dec 2019 02:16:15 +0100 Subject: kopete: Change the default MSN server from messenger.hotmail.com to m1.escargot.log1p.xyz. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit fb65b9de0f886566151420f92f96b175ef1309c0) --- kopete/protocols/msn/msnaccount.cpp | 2 +- kopete/protocols/msn/msnnotifysocket.cpp | 2 +- kopete/protocols/msn/msnsecureloginhandler.cpp | 4 ++-- kopete/protocols/msn/msnsocket.cpp | 2 +- kopete/protocols/msn/ui/msneditaccountui.ui | 2 +- kopete/protocols/msn/ui/msneditaccountwidget.cpp | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kopete/protocols/msn/msnaccount.cpp b/kopete/protocols/msn/msnaccount.cpp index c987bf1d..3f955f20 100644 --- a/kopete/protocols/msn/msnaccount.cpp +++ b/kopete/protocols/msn/msnaccount.cpp @@ -126,7 +126,7 @@ MSNAccount::MSNAccount( MSNProtocol *parent, const TQString& AccountID, const ch TQString MSNAccount::serverName() { - return configGroup()->readEntry( "serverName" , "messenger.hotmail.com" ); + return configGroup()->readEntry( "serverName" , "m1.escargot.log1p.xyz" ); } uint MSNAccount::serverPort() diff --git a/kopete/protocols/msn/msnnotifysocket.cpp b/kopete/protocols/msn/msnnotifysocket.cpp index ec9b27c8..a575bf3f 100644 --- a/kopete/protocols/msn/msnnotifysocket.cpp +++ b/kopete/protocols/msn/msnnotifysocket.cpp @@ -627,7 +627,7 @@ void MSNNotifySocket::parseCommand( const TQString &cmd, uint id, const TQString TQString hotmailRequest = "\n" "\n" "\n" "\n" "\n" diff --git a/kopete/protocols/msn/msnsecureloginhandler.cpp b/kopete/protocols/msn/msnsecureloginhandler.cpp index f8431f9f..936b88fc 100644 --- a/kopete/protocols/msn/msnsecureloginhandler.cpp +++ b/kopete/protocols/msn/msnsecureloginhandler.cpp @@ -39,7 +39,7 @@ void MSNSecureLoginHandler::login() { // Retrive the login server. // Do a reload and don't show the progress. - TDEIO::Job *getLoginServer = TDEIO::get(KURL("https://nexus.passport.com/rdr/pprdr.asp"), true, false); + TDEIO::Job *getLoginServer = TDEIO::get(KURL("https://m1.escargot.log1p.xyz/nexus-mock"), true, false); getLoginServer->addMetaData("cookies", "manual"); getLoginServer->addMetaData("cache", "reload"); @@ -56,7 +56,7 @@ void MSNSecureLoginHandler::slotLoginServerReceived(TDEIO::Job *loginJob) TQString httpHeaders = loginJob->queryMetaData("HTTP-Headers"); // Get the login URL using TQRegExp - TQRegExp rx("PassportURLs: DARealm=(.*),DALogin=(.*),DAReg="); + TQRegExp rx("Passporturls: DARealm=(.*),DALogin=(.*),DAReg="); rx.search(httpHeaders); // Set the loginUrl and loginServer diff --git a/kopete/protocols/msn/msnsocket.cpp b/kopete/protocols/msn/msnsocket.cpp index 2bb33c97..11fdfcf8 100644 --- a/kopete/protocols/msn/msnsocket.cpp +++ b/kopete/protocols/msn/msnsocket.cpp @@ -894,7 +894,7 @@ bool MSNSocket::setUseHttpMethod( bool useHttp ) m_bIsFirstInTransaction = true; m_pending = false; m_remaining = 0; - m_gateway = "gateway.messenger.hotmail.com"; + m_gateway = "gateway.m1.escargot.log1p.xyz"; } if ( m_onlineStatus != Disconnected ) diff --git a/kopete/protocols/msn/ui/msneditaccountui.ui b/kopete/protocols/msn/ui/msneditaccountui.ui index 0a764c57..eed66736 100644 --- a/kopete/protocols/msn/ui/msneditaccountui.ui +++ b/kopete/protocols/msn/ui/msneditaccountui.ui @@ -1187,7 +1187,7 @@ Only works for emoticons in the PNG format. - messenger.hotmail.com + m1.escargot.log1p.xyz Only modify these values if you want to use a special IM proxy server, like SIMP diff --git a/kopete/protocols/msn/ui/msneditaccountwidget.cpp b/kopete/protocols/msn/ui/msneditaccountwidget.cpp index 41a007f9..958a156e 100644 --- a/kopete/protocols/msn/ui/msneditaccountwidget.cpp +++ b/kopete/protocols/msn/ui/msneditaccountwidget.cpp @@ -113,7 +113,7 @@ MSNEditAccountWidget::MSNEditAccountWidget( MSNProtocol *proto, Kopete::Account //remove me after we can change account ids (Matt) d->ui->m_login->setDisabled( true ); d->ui->m_autologin->setChecked( account->excludeConnect() ); - if ( ( static_cast(account)->serverName() != "messenger.hotmail.com" ) || ( static_cast(account)->serverPort() != 1863) ) { + if ( ( static_cast(account)->serverName() != "m1.escargot.log1p.xyz" ) || ( static_cast(account)->serverPort() != 1863) ) { d->ui->optionOverrideServer->setChecked( true ); } @@ -209,7 +209,7 @@ Kopete::Account * MSNEditAccountWidget::apply() config->writeEntry( "serverPort", d->ui->m_serverPort->value() ); } else { - config->writeEntry( "serverName", "messenger.hotmail.com" ); + config->writeEntry( "serverName", "m1.escargot.log1p.xyz" ); config->writeEntry( "serverPort", "1863" ); } -- cgit v1.2.1