//AbstractMessenger messenger = (AbstractMessenger)session.getMessenger();
MsnProtocol protocol = messenger.getActualMsnProtocol();
messenger.getOwner().setDisplayName(messenger.getOwner().getDisplayName());
if (protocol.after(MsnProtocol.MSNP9)){
OutgoingUUX uuxmessage = new OutgoingUUX(protocol);
uuxmessage.setPersonalMessage(messenger.getOwner().getPersonalMessage());
uuxmessage.setMachineGuid("{F26D1F07-95E2-403C-BC18-D4BFED493428}");
messenger.send(uuxmessage);
}
OutgoingCHG message = new OutgoingCHG(protocol);
message.setStatus(messenger.getOwner().getInitStatus());