1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

Merge branch '4.4'

This commit is contained in:
Florian Schmaus 2020-08-17 17:25:26 +02:00
commit 9fe1fc6689
24 changed files with 34 additions and 3 deletions

View file

@ -16,6 +16,7 @@ include 'smack-core',
'smack-resolver-javax',
'smack-sasl-javax',
'smack-sasl-provided',
'smack-streammanagement',
'smack-legacy',
'smack-jingle-old',
'smack-bosh',

View file

@ -71,7 +71,7 @@ public class XmlEnvironment {
}
public String getEffectiveNamespaceOrUse(String namespace) {
String effectiveNamespace = getEffectiveLanguage();
String effectiveNamespace = getEffectiveNamespace();
if (StringUtils.isNullOrEmpty(effectiveNamespace)) {
return namespace;
}

View file

@ -0,0 +1,8 @@
description = """\
Smack support for XMPP Stream Management (XEP-0198)."""
dependencies {
api project(':smack-core')
testFixturesApi(testFixtures(project(":smack-core")))
}

View file

@ -3,6 +3,7 @@ Smack for standard XMPP connections over TCP."""
dependencies {
compile project(':smack-core')
api project(':smack-streammanagement')
testFixturesApi(testFixtures(project(":smack-core")))
}

View file

@ -1,6 +1,6 @@
/**
*
* Copyright © 2014 Florian Schmaus
* Copyright © 2014-2020 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jivesoftware.smack.sm.predicates;
package org.jivesoftware.smack.sm.predicates.tcp;
import org.jivesoftware.smack.filter.StanzaFilter;
import org.jivesoftware.smack.packet.Stanza;

View file

@ -0,0 +1,21 @@
/**
*
* Copyright 2020 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* XMPPTCPConnection Stream Managment Predicates.
*/
package org.jivesoftware.smack.sm.predicates.tcp;