Commit 74e52148 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Allow to process unavailable presence of session with CLOSED state.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9323 b35dd754-fafc-0310-a699-88a17e54d16e
parent bcfc6ec6
...@@ -63,7 +63,7 @@ public class PresenceRouter extends BasicModule { ...@@ -63,7 +63,7 @@ public class PresenceRouter extends BasicModule {
try { try {
// Invoke the interceptors before we process the read packet // Invoke the interceptors before we process the read packet
InterceptorManager.getInstance().invokeInterceptors(packet, session, true, false); InterceptorManager.getInstance().invokeInterceptors(packet, session, true, false);
if (session == null || session.getStatus() == Session.STATUS_AUTHENTICATED) { if (session == null || session.getStatus() != Session.STATUS_CONNECTED) {
handle(packet); handle(packet);
} }
else { else {
......
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