powered by Jive Software

Smack client: missing notification for new OpenFire users


I’m trying to create a SMACK client (a web service) listening for the presence status of all the users registered in OpenFire server. The presence status is driven from inside an OpenFire plugin connected to our communication network.

I developed the client following the SMACK tutorial. Every user is in a single group (the listening client too), thus the client is able to receive all the presence notifications.

A problem arises when I add a new user from the OpenFire GUI. The SMACK client is notified about the added user as expected (roster listener), but the presence changes of that user are not notified until I restart my client.

Am I supposed to do some additional programmig action when I receive the ‘new user added to roster’ notification (at present, I do nothing)? Am i missing something else?

Thank you,