ELPD Estimates from a weighted regression

Hello! I am fitting a weighted ordered logistic regression model using brms. I was wondering if the observation weights are/should be taken into account when calculating the elpd for this model. I am calculating the elpd using the add_criterion(criterion = 'loo') function from brms.

Thanks in advance!

It seems @paul.buerkner has missed this as it was not in brms category (pinging him now).

The weights are taken into account.