1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-09 06:31:08 +01:00

Added support for pre-approved subscription requests (RFC 6121 § 3.4)

SMACK-639
This commit is contained in:
Tomáš Havlas 2015-03-14 15:19:52 +01:00 committed by Florian Schmaus
parent f410ece468
commit fae9d129a9
12 changed files with 440 additions and 5 deletions

View file

@ -1405,7 +1405,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
return getFeature(element, namespace) != null;
}
private void addStreamFeature(ExtensionElement feature) {
protected void addStreamFeature(ExtensionElement feature) {
String key = XmppStringUtils.generateKey(feature.getElementName(), feature.getNamespace());
streamFeatures.put(key, feature);
}