— basic setup —
I have two smack clients running: joe and sue.
Each has the roster set to SUBSCRIPTION_ACCEPT_ALL.
Each starts with an empty roster.
The client is designed to automatically create a roster when a new chat is started with someone not in the roster. So when joe starts a chat with sue, joe’‘s roster gets sue added. Then when sue receives that chat from joe, joe is added to sue’'s roster.
A roster listener is set up to notify the client when a user of the other user’'s presence.
— what I expect —
What I expect to happen is that when joe first starts a chat with sue, and sue gets that chat, each of them will have a roster entry for the other. Then any presence changes will be shown to each client.
— what I get —
What I get is that when joe first starts a chat with sue, and sue gets that chat, joe gets notified of sues presence but sue does not see joe’'s presence at all.
Looking in the db, JIVEROSTER gets two entries when joe starts the chat (before sue gets it). Then when sue gets the chat, JIVEROSTER still shows the same entries.
— questions –
Is JIVEROSTER supposed to get two entries like that?
If JIVEROSTER has both entries, why would sue not get presence notification?
What do the fields mean in JIVEROSTER? Is NICK important (one becomes null)? Do the other fields affect who gets notifications?
Hope this is clear enough, Thanks in advance.