@Override public User[] findUsers(ProgressIndicator progressIndicator) { if (isOnline()) { return myUserFinder.findUsers(progressIndicator); } return new User[0]; }
@Override public void authenticated() { LOG.info("Jabber authenticated: " + myFacade.getConnection().getUser()); if (myRosterListener == null) { myRosterListener = new MyRosterListener(); getRoster().addRosterListener(myRosterListener); } myUserFinder.registerForProject(myFacade.getMyAccount().getJabberId()); if (!hasJabberContacts()) { synchronizeRoster(false); } }