}
return;
}
if (message instanceof PresenceInfoChangedAliasMessage) {
PresenceInfoChangedAliasMessage m = (PresenceInfoChangedAliasMessage) message;
PresenceInfo pi = pm.getPresenceInfo(m.getCellID());
if (pi == null) {
logger.warning("No presence info found for " + m.getCellID());
return;
}
pm.changeUsernameAlias(pi, m.getAlias());
return;
}
throw new UnsupportedOperationException("Unknown message: " + message);
}