I have to make a chat application and I need that everybody can see and chat with everybody.
I create entries in my roaster :
roster.createEntry(“sambasub@ipserver”, “sambasub”, null);
then I do :
Presence presence = roster.getPresence(“sambasub@ipserver”);
presence.getStatus() shows me “null”
I understood that it is because " the user is not online or you are not subscribed to the user’s presence"
-> I am not suscribed to the user presence.
So I am a bit lost, I don’t know how to make it… Could you help me please ?
Thank you very much