/** Trigger a one-time presence update. */ public void updatePresence() { if (!service.isValidConfiguration()) { logger.log( Level.WARNING, "Tried to update presence information, but XMPP configuration was not valid. Make sure to set an account name and password."); return; } service.doUpdateStatusMessage(); }