mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-21 22:02: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