aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaweldomas <pawel.domas@jitsi.org>2013-11-21 10:20:29 +0100
committerpaweldomas <pawel.domas@jitsi.org>2013-11-21 10:20:29 +0100
commit463d4b3a843b266269f29b0dfc181f2f5761f5af (patch)
tree4a8a4a178e2f12eff6e00a35b2e13757fbf139df
parent89ad25052f64340b222dd49c5028b996e1f8167f (diff)
downloadjitsi-463d4b3a843b266269f29b0dfc181f2f5761f5af.zip
jitsi-463d4b3a843b266269f29b0dfc181f2f5761f5af.tar.gz
jitsi-463d4b3a843b266269f29b0dfc181f2f5761f5af.tar.bz2
Changes XMPP entity node name on Android.
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/extensions/caps/EntityCapsManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/caps/EntityCapsManager.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/caps/EntityCapsManager.java
index 880bd31..d070d71 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/caps/EntityCapsManager.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/caps/EntityCapsManager.java
@@ -17,6 +17,7 @@ import net.java.sip.communicator.service.protocol.*;
import net.java.sip.communicator.util.*;
import org.jitsi.service.configuration.*;
+import org.jitsi.util.OSUtils;
import org.jivesoftware.smack.*;
import org.jivesoftware.smack.filter.*;
import org.jivesoftware.smack.packet.*;
@@ -63,7 +64,8 @@ public class EntityCapsManager
/**
* The node value to advertise.
*/
- private static String entityNode = "http://jitsi.org";
+ private static String entityNode
+ = OSUtils.IS_ANDROID ? "http://android.jitsi.org" : "http://jitsi.org";
/**
* The <tt>Map</tt> of <tt>Caps</tt> to <tt>DiscoverInfo</tt> which