when i use
Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.manual);
and after this code i use
Roster.getInstanceFor(Definitions.CONNECTION);
but Roster. SubscriptionMode still accept All
why ???
when i use
Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.manual);
and after this code i use
Roster.getInstanceFor(Definitions.CONNECTION);
but Roster. SubscriptionMode still accept All
why ???
Just ADD
Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.manual);
before Connection that is work with me