kopete: Change the default AIM server from login.oscar.aol.com to iwarg.ddns.net.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/18/head
Slávek Banko 5 years ago
parent 91ba38a1df
commit 2474827028
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -208,7 +208,7 @@ AIMAccount::AIMAccount(Kopete::Protocol *parent, TQString accountID, const char
setMyself( mc ); setMyself( mc );
myself()->setOnlineStatus( static_cast<AIMProtocol*>( parent )->statusOffline ); myself()->setOnlineStatus( static_cast<AIMProtocol*>( parent )->statusOffline );
TQString profile = configGroup()->readEntry( "Profile", TQString profile = configGroup()->readEntry( "Profile",
i18n( "Visit the Kopete website at <a href=\"http://kopete.kde.org\">http://kopete.kde.org</a>") ); i18n( "Visit the Kopete website at <a href=\"http://trinitydesktop.org\">http://trinitydesktop.org</a>") );
mc->setOwnProfile( profile ); mc->setOwnProfile( profile );
m_joinChatDialog = 0; m_joinChatDialog = 0;
@ -759,7 +759,7 @@ void AIMAccount::connectWithPassword( const TQString & )
// Get the screen name for this account // Get the screen name for this account
TQString screenName = accountId(); TQString screenName = accountId();
TQString server = configGroup()->readEntry( "Server", TQString::fromLatin1( "login.oscar.aol.com" ) ); TQString server = configGroup()->readEntry( "Server", TQString::fromLatin1( "iwarg.ddns.net" ) );
uint port = configGroup()->readNumEntry( "Port", 5190 ); uint port = configGroup()->readNumEntry( "Port", 5190 );
Connection* c = setupConnection( server, port ); Connection* c = setupConnection( server, port );

@ -265,7 +265,7 @@
<string>The IP address or hostmask of the AIM server you wish to connect to.</string> <string>The IP address or hostmask of the AIM server you wish to connect to.</string>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>The IP address or hostmask of the AIM server you wish to connect to. Normally you will want the default (login.oscar.aol.com).</string> <string>The IP address or hostmask of the AIM server you wish to connect to. Normally you will want the default (iwarg.ddns.net).</string>
</property> </property>
</widget> </widget>
<widget class="TQLineEdit"> <widget class="TQLineEdit">
@ -276,13 +276,13 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>login.oscar.aol.com</string> <string>iwarg.ddns.net</string>
</property> </property>
<property name="toolTip" stdset="0"> <property name="toolTip" stdset="0">
<string>The IP address or hostmask of the AIM server you wish to connect to.</string> <string>The IP address or hostmask of the AIM server you wish to connect to.</string>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>The IP address or hostmask of the AIM server you wish to connect to. Normally you will want the default (login.oscar.aol.com).</string> <string>The IP address or hostmask of the AIM server you wish to connect to. Normally you will want the default (iwarg.ddns.net).</string>
</property> </property>
</widget> </widget>
<widget class="TQLabel"> <widget class="TQLabel">

@ -40,9 +40,9 @@ AIMEditAccountWidget::AIMEditAccountWidget( AIMProtocol *protocol,
//Remove me after we can change Account IDs (Matt) //Remove me after we can change Account IDs (Matt)
mGui->edtAccountId->setDisabled( true ); mGui->edtAccountId->setDisabled( true );
mGui->mAutoLogon->setChecked( account->excludeConnect() ); mGui->mAutoLogon->setChecked( account->excludeConnect() );
TQString serverEntry = account->configGroup()->readEntry( "Server", "login.oscar.aol.com" ); TQString serverEntry = account->configGroup()->readEntry( "Server", "iwarg.ddns.net" );
int portEntry = account->configGroup()->readNumEntry( "Port", 5190 ); int portEntry = account->configGroup()->readNumEntry( "Port", 5190 );
if ( serverEntry != "login.oscar.aol.com" || portEntry != 5190 ) if ( serverEntry != "iwarg.ddns.net" || portEntry != 5190 )
mGui->optionOverrideServer->setChecked( true ); mGui->optionOverrideServer->setChecked( true );
else else
mGui->optionOverrideServer->setChecked( false ); mGui->optionOverrideServer->setChecked( false );
@ -113,7 +113,7 @@ Kopete::Account *AIMEditAccountWidget::apply()
} }
else else
{ {
static_cast<OscarAccount *>( mAccount )->setServerAddress( "login.oscar.aol.com" ); static_cast<OscarAccount *>( mAccount )->setServerAddress( "iwarg.ddns.net" );
static_cast<OscarAccount *>( mAccount )->setServerPort( 5190 ); static_cast<OscarAccount *>( mAccount )->setServerPort( 5190 );
} }
@ -165,7 +165,7 @@ bool AIMEditAccountWidget::validateData()
void AIMEditAccountWidget::slotOpenRegister() void AIMEditAccountWidget::slotOpenRegister()
{ {
KRun::runURL( "http://my.screenname.aol.com/_cqr/login/login.psp?siteId=snshomepage&mcState=initialized&createSn=1", "text/html" ); KRun::runURL( "http://iwarg.ddns.net/aim/index.php?action=register", "text/html" );
} }
#include "aimeditaccountwidget.moc" #include "aimeditaccountwidget.moc"

Loading…
Cancel
Save