diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-12-10 01:24:17 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-10 18:54:30 +0100 |
commit | dd43402365ac82e6f28d373ea857a38f473e9f45 (patch) | |
tree | 8a4825ac0df9d8f1f3f3685a9e0fd5f96d5e274d /kopete/protocols/oscar/oscarcontact.cpp | |
parent | 3ca6259d5b5b41ecce9759373714bdc57ff563d8 (diff) | |
download | tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.tar.gz tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.zip |
kopete: Restore the AIM protocol because a replacement AIM server was created.
This reverts commits 036b0229db and dc34f9c391.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 91ba38a1df42b56caa73babc90ffa4f674c000d4)
Diffstat (limited to 'kopete/protocols/oscar/oscarcontact.cpp')
-rw-r--r-- | kopete/protocols/oscar/oscarcontact.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kopete/protocols/oscar/oscarcontact.cpp b/kopete/protocols/oscar/oscarcontact.cpp index 0ef5673a..4de182ad 100644 --- a/kopete/protocols/oscar/oscarcontact.cpp +++ b/kopete/protocols/oscar/oscarcontact.cpp @@ -170,9 +170,15 @@ void OscarContact::userInfoUpdated( const TQString& contact, const UserDetails& TQStringList capList; // Append client name and version in case we found one - if ( !m_details.clientName().isEmpty() ) { - capList << i18n( "Translators: client name and version", - "%1").arg( m_details.clientName() ); + if ( m_details.userClass() & 0x0080 /* WIRELESS */ ) + capList << i18n( "Mobile AIM Client" ); + else + { + if ( !m_details.clientName().isEmpty() ) + { + capList << i18n( "Translators: client name and version", + "%1").arg( m_details.clientName() ); + } } // and now for some general informative capabilities |