mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Set default subscription mode to "reject all"
In order to make the defaults of Smack more secure.
This commit is contained in:
parent
3129165a1c
commit
6f66b31fb7
1 changed files with 2 additions and 2 deletions
|
@ -128,9 +128,9 @@ public final class Roster extends Manager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default subscription processing mode to use when a Roster is created. By default
|
* The default subscription processing mode to use when a Roster is created. By default
|
||||||
* all subscription requests are automatically accepted.
|
* all subscription requests are automatically rejected.
|
||||||
*/
|
*/
|
||||||
private static SubscriptionMode defaultSubscriptionMode = SubscriptionMode.accept_all;
|
private static SubscriptionMode defaultSubscriptionMode = SubscriptionMode.reject_all;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The initial maximum size of the map holding presence information of entities without an Roster entry. Currently
|
* The initial maximum size of the map holding presence information of entities without an Roster entry. Currently
|
||||||
|
|
Loading…
Reference in a new issue