mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
Add Roster.setRosterLoadedAtLoginDefault(boolean)
Fixes SMACK-715
This commit is contained in:
parent
cf3024668e
commit
e6db731810
1 changed files with 12 additions and 0 deletions
|
@ -896,6 +896,18 @@ public class Roster extends Manager {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets if the roster will be loaded from the server when logging in for newly created instances
|
||||
* of {@link Roster}.
|
||||
*
|
||||
* @param rosterLoadedAtLoginDefault if the roster will be loaded from the server when logging in.
|
||||
* @see #setRosterLoadedAtLogin(boolean)
|
||||
* @since 4.1.7
|
||||
*/
|
||||
public static void setRosterLoadedAtLoginDefault(boolean rosterLoadedAtLoginDefault) {
|
||||
Roster.rosterLoadedAtLoginDefault = rosterLoadedAtLoginDefault;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets if the roster will be loaded from the server when logging in. This
|
||||
* is the common behaviour for clients but sometimes clients may want to differ this
|
||||
|
|
Loading…
Reference in a new issue