Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 10742

Trending Articles