Commit 69b7b469 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Reverting url to image resources.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6902 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1a505141
......@@ -11,11 +11,11 @@
package org.jivesoftware.wildfire.plugin.presence;
import org.jivesoftware.admin.AuthCheckFilter;
import org.jivesoftware.util.Log;
import org.jivesoftware.wildfire.XMPPServer;
import org.jivesoftware.wildfire.plugin.PresencePlugin;
import org.jivesoftware.wildfire.user.UserNotFoundException;
import org.jivesoftware.util.Log;
import org.jivesoftware.admin.AuthCheckFilter;
import org.xmpp.packet.Presence;
import javax.servlet.ServletConfig;
......@@ -61,12 +61,12 @@ public class PresenceStatusServlet extends HttpServlet {
xmlProvider = new XMLPresenceProvider();
imageProvider = new ImagePresenceProvider(this);
textProvider = new TextPresenceProvider();
available = loadResource("/plugins/presence/images/user-green-16x16.gif");
away = loadResource("/plugins/presence/images/user-yellow-16x16.gif");
chat = loadResource("/plugins/presence/images/user-green-16x16.gif");
dnd = loadResource("/plugins/presence/images/user-red-16x16.gif");
offline = loadResource("/plugins/presence/images/user-clear-16x16.gif");
xa = loadResource("/plugins/presence/images/user-yellow-16x16.gif");
available = loadResource("/images/user-green-16x16.gif");
away = loadResource("/images/user-yellow-16x16.gif");
chat = loadResource("/images/user-green-16x16.gif");
dnd = loadResource("/images/user-red-16x16.gif");
offline = loadResource("/images/user-clear-16x16.gif");
xa = loadResource("/images/user-yellow-16x16.gif");
// Exclude this servlet from requering the user to login
AuthCheckFilter.addExclude("presence/status");
}
......
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