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

Introduce SmackConfiguration.SMACK_URL(_STRING)

This commit is contained in:
Florian Schmaus 2019-07-04 15:51:28 +02:00
parent f3b856c80b
commit df5899e72b
4 changed files with 21 additions and 3 deletions

View file

@ -16,10 +16,12 @@
*/
package org.jivesoftware.smack.packet;
import org.jivesoftware.smack.SmackConfiguration;
public class TestIQ extends SimpleIQ {
public TestIQ() {
this("https://igniterealtime.org/projects/smack", "test-iq");
this(SmackConfiguration.SMACK_URL_STRING, "test-iq");
}
public TestIQ(String element, String namespace) {