The Roster class in smack 4.1.6 is missing static getter/setter methods for the rosterLoadedAtLoginDefault flag. The flag itself is already there and is even used when creating new Roster instances.
Thanks
[SMACK-715] Add Roster.setRosterLoadedAtLoginDefault(boolean) - Jive Software Open Source
I’ve uploaded Smack 4.1.7-SNAPSHOT, which includes a fix for this, to Maven Central’s snapshot repositories. Could you try it out and report back if it solves the issue for you?
Thanks, it works.
For completeness, a getter method could also be added, but it is not relevant for my use case.