kopete: Change the default MSN server from messenger.hotmail.com

to m1.escargot.log1p.xyz.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/19/head
Slávek Banko 4 years ago
parent 73f0033617
commit fb65b9de0f
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -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()

@ -627,7 +627,7 @@ void MSNNotifySocket::parseCommand( const TQString &cmd, uint id, const TQString
TQString hotmailRequest = "<html>\n"
"<head>\n"
"<noscript>\n"
"<meta http-equiv=Refresh content=\"0; url=http://www.hotmail.com\">\n"
"<meta http-equiv=Refresh content=\"0; url=https://escargot.log1p.xyz/\">\n"
"</noscript>\n"
"</head>\n"
"<body onload=\"document.pform.submit(); \">\n"

@ -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

@ -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 )

@ -1187,7 +1187,7 @@ Only works for emoticons in the PNG format.</string>
</sizepolicy>
</property>
<property name="text">
<string>messenger.hotmail.com</string>
<string>m1.escargot.log1p.xyz</string>
</property>
<property name="toolTip" stdset="0">
<string>Only modify these values if you want to use a special IM proxy server, like SIMP</string>

@ -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<MSNAccount*>(account)->serverName() != "messenger.hotmail.com" ) || ( static_cast<MSNAccount*>(account)->serverPort() != 1863) ) {
if ( ( static_cast<MSNAccount*>(account)->serverName() != "m1.escargot.log1p.xyz" ) || ( static_cast<MSNAccount*>(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" );
}

Loading…
Cancel
Save