Fix for icq passwords longer than 8 characters

cusax-fix
Damian Minkov 20 years ago
parent 0f018cfd2a
commit 74a4626394

@ -213,6 +213,12 @@ public void register(SecurityAuthority authority)
}
}
// it seems icq servers doesn't accept password with
// length more then 8. But allow such registrations
// we must trim such passwords to 8 characters
if(password.length() > 0)
password = password.substring(0, 8);
//init the necessary objects
session = new DefaultAppSession();
aimSession = session.openAimSession(

Loading…
Cancel
Save