RosterListener presenceChanged isnt registering online and offline

he there, my listener dont listens for the events ONLINE and OFFLINE, i dont know why,

here is my code

public void presenceChanged(Presence arg0) {

System.out.println(“Presence changed: " + arg0 *” "*arg0.getFrom() );

}

conn.getRoster().addRosterListener(this);

every presence change works, except online and offline

any hints on how to get ONLINE, OFFLINE notifications?

Message was edited by: digitalkaoz