AnsweredAssumed Answered

Roster.SubscriptionMode.accept_all seems not to work with offline users

Question asked by d4niel on Aug 7, 2014
Latest reply on Aug 7, 2014 by Vadim

I am implementing a client that accepts all subscription requests (I am using Rooster.setSubscriptionMode(Roster.SubscriptionMode.accept_all). Also, on the first login, every user will send a subscription request to a list of users. The accept_all mode seem to work fine only if the users we are trying to subscribe to are online at the time we are sending the subscrption request. This means that as a user I will never get presence updates from users that were offline at the time I logged in first.

Am I doing something wrong or could this be a problem caused by using asmack?

Outcomes