1
0
Fork 0
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:
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 * 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