1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-14 07:34:50 +02:00

Set default subscription mode to "reject all"

In order to make the defaults of Smack more secure.
This commit is contained in:
Florian Schmaus 2016-12-28 23:42:30 +01:00
parent 3129165a1c
commit 6f66b31fb7

View file

@ -128,9 +128,9 @@ public final class Roster extends Manager {
/**
* 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