Push request to roster not been applied on delegated component

Hi all,

I am not able to get the Roster updated after push from a component(delegated namescape).
The thing is that I am doing external Auth and then I am trying to set(push request) the Roster contact List directly from the component delegated, however once I request again the Roster I am not getting the added contacts.

So far, what works is to recreate the response to the client with the roster, however this cause that the contact list it seems not persisted, so the presence state is not is not propagated.

the workflow want to achieve is :

1 - User connects and server make external Auth.
2 - delegated component receive get request of roster.
3 - delegated component push the roster for the user.
4 - delegated component respond with the roster the user.
5 - all upcoming request related messages and presence to be handled outside the delegated component.

Thanks in advance

Syndicate content