* Depending on timing, we may or may not have been called at viewConfigured().
* We create and add the presence info for the client when viewConfigured() is called.
*/
pm = (PresenceManagerImpl) PresenceManagerFactory.getPresenceManager(session);
LocalAvatar avatar = ((CellClientSession) session).getLocalAvatar();
avatar.addViewCellConfiguredListener(this);
if (avatar.getViewCell() != null) {
// if the view is already configured, fake an event
viewConfigured(avatar);
}
}