I'm using ejabberd to implement a web "live chat". At one point during my experimentation I had it so when you logged in the client would show the presence of all other logged in users. After many config changes I have the system working the way I want except it's stopped reporting the presence of other users.
Basically I want the client to know when the admin is logged in, as this will enable them to know wether they'll get an answer before writing their question. At the moment it doesn't even tell you if the message you sent was received at all when the admin is offline (it just gets quesued for later delivery).
I'm using jwchat as the client and although I can capture all presence packets it does not appear that ejabberd is sending them (maybe a privacy thing, I don't know). Any ideas?
EDIT: Best I can tell I need mod_roster however I cannot find any documentation on how to configure it. Does anyone have any information they can share?