Commit a3ac7356 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed directed presences (it now works). :)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8786 b35dd754-fafc-0310-a699-88a17e54d16e
parent bbf5c373
......@@ -76,7 +76,7 @@ import java.util.concurrent.ConcurrentLinkedQueue;
*/
public class PresenceUpdateHandler extends BasicModule implements ChannelHandler, ClusterEventListener {
private static final String PRESENCE_CACHE_NAME = "Directed Presences";
public static final String PRESENCE_CACHE_NAME = "Directed Presences";
/**
* Keeps track of entities that sent directed presences to other entities. In this map
......@@ -413,6 +413,7 @@ public class PresenceUpdateHandler extends BasicModule implements ChannelHandler
if (affectedDirectedPresence == null) {
affectedDirectedPresence = new DirectedPresence(handlerJID);
directedPresences.add(affectedDirectedPresence);
}
affectedDirectedPresence.addReceiver(jid);
......
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