From 2bd4f95fcc57ee0c585321a7284c665ae319eebd Mon Sep 17 00:00:00 2001 From: Guilherme Baptista Date: Wed, 4 Mar 2015 20:03:21 -0300 Subject: [PATCH] (#55) Trying to at least give old identity --- .../mediaserver/xmpp/MediaServerComponent.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/buddycloud/mediaserver/xmpp/MediaServerComponent.java b/src/main/java/com/buddycloud/mediaserver/xmpp/MediaServerComponent.java index 54f2617..62d28b2 100644 --- a/src/main/java/com/buddycloud/mediaserver/xmpp/MediaServerComponent.java +++ b/src/main/java/com/buddycloud/mediaserver/xmpp/MediaServerComponent.java @@ -107,12 +107,12 @@ protected IQ handleDiscoInfo(IQ iq) { if (endPoint != null) { Element queryEl = disco.getElement().element("query"); -// addIdentity(queryEl, "component", getName(), "generic"); -// -// addFeature(queryEl, NAMESPACE_DISCO_INFO); -// addFeature(queryEl, NAMESPACE_XMPP_PING); -// addFeature(queryEl, NAMESPACE_LAST_ACTIVITY); -// addFeature(queryEl, NAMESPACE_ENTITY_TIME); + addIdentity(queryEl, "component", getName(), "generic"); + + addFeature(queryEl, NAMESPACE_DISCO_INFO); + addFeature(queryEl, NAMESPACE_XMPP_PING); + addFeature(queryEl, NAMESPACE_LAST_ACTIVITY); + addFeature(queryEl, NAMESPACE_ENTITY_TIME); Element xEl = queryEl.addElement("x", "jabber:x:data"); xEl.addAttribute("type", "result");