String message=null;
if (Preferences.getBoolean("jeti", "statusLinked", false)) {
status = StatusButton.getStatus();
message = StatusButton.getStatusMessage();
}
Avatars avatars = getAvatarInterface();
Presence presence=null;
if(avatars!=null)
{
presence = avatars.addHash(jid,status,message,new XMUC());
}
else presence = new Presence(jid,status,message,new XMUC());
backend.send(presence);
}