Commit f7b4da1b authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added back getTrackInfo().


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@206 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3cdf9cbc
...@@ -14,7 +14,6 @@ package org.jivesoftware.messenger.disco; ...@@ -14,7 +14,6 @@ package org.jivesoftware.messenger.disco;
import org.jivesoftware.messenger.container.TrackInfo; import org.jivesoftware.messenger.container.TrackInfo;
import org.jivesoftware.messenger.XMPPServer; import org.jivesoftware.messenger.XMPPServer;
import org.jivesoftware.messenger.handler.IQHandler; import org.jivesoftware.messenger.handler.IQHandler;
import org.jivesoftware.messenger.handler.IQHandler;
/** /**
* Base class for handling disco request. So far this class is not of much help since practically * Base class for handling disco request. So far this class is not of much help since practically
...@@ -30,6 +29,10 @@ public abstract class IQDiscoHandler extends IQHandler { ...@@ -30,6 +29,10 @@ public abstract class IQDiscoHandler extends IQHandler {
super(name); super(name);
} }
protected TrackInfo getTrackInfo() {
TrackInfo trackInfo = super.getTrackInfo();
trackInfo.getTrackerClasses().put(XMPPServer.class, "localServer");
return trackInfo;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment