protected void added()

in src/main/java/org/apache/sling/jcr/presence/internal/UserPresenter.java [112:123]


    protected void added(@NotNull final String path, @NotNull final Set<String> added, @NotNull final Set<String> deleted, @NotNull final Set<String> changed, @NotNull final Map<String, String> properties, @NotNull final CommitInfo commitInfo) {
        if (matches(properties)) {
            try {
                final UserInfo userInfo = getUserById(userId);
                if (Objects.nonNull(userInfo)) {
                    registerUserPresence(userInfo);
                }
            } catch (Exception e) {
                logger.error(e.getMessage(), e);
            }
        }
    }