}
@Override
protected String getConfiguredIMId(User user) {
// if set, user property override all other settings:
JabberUserProperty jabberUserProperty = (JabberUserProperty) user.getProperties().get(JabberUserProperty.DESCRIPTOR);
if (jabberUserProperty != null && jabberUserProperty.getJid() != null) {
return jabberUserProperty.getJid();
}
if (getDescriptor().isEmailAddressAsJabberId()) {
Mailer.UserProperty mailProperty = user.getProperty(Mailer.UserProperty.class);
if (mailProperty != null) {