Not logged in. · Lost password · Register
Forum: agsXMPP RSS
ayyrk #1
Member since Jul 2007 · 92 posts
Group memberships: Members, Premium
Show profile · Link to this post
Subject: Auto Roster
I'm using AutoRoster = true.  How does this decide when to update the roster. Maybe I should control the roster refresh in order to reduce the amount of data sent to the mobile device.

Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
When AutoRoster is true then the roster is requested automatically on every login. This is how 99% of the clients do it today.
I don't this is a good idea, this is why I added AutoRoster. Especially on mobile devices where you often pay for traffic, and every traffic costs you also battery power. Login time is is also unnecessary longer, which gets worse with growing roster size.
So you could store the roster in a database with your application and sync it from time to time on request or according to a business logic.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS