Commit 1fb12d9a authored by Dave Cridland's avatar Dave Cridland Committed by daryl herzmann

OF-1239 Check for null MUCService.iqHandler table (#698)

parent 8e223368
......@@ -415,7 +415,7 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
else if ("urn:xmpp:ping".equals(namespace)) {
router.route( IQ.createResultIQ(iq) );
}
else {
else if (this.iqHandlers != null) {
IQHandler h = this.iqHandlers.get(namespace);
if (h != null) {
try {
......@@ -432,6 +432,8 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
return true;
}
return false;
} else {
return false;
}
return true;
}
......
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