mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 07:42:06 +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