summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/oscarcontact.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-12-10 01:24:17 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-10 18:54:30 +0100
commitdd43402365ac82e6f28d373ea857a38f473e9f45 (patch)
tree8a4825ac0df9d8f1f3f3685a9e0fd5f96d5e274d /kopete/protocols/oscar/oscarcontact.cpp
parent3ca6259d5b5b41ecce9759373714bdc57ff563d8 (diff)
downloadtdenetwork-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.cpp12
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