Commit 13fdd61e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

IQ disco packets sent to room occupants are now delivered to room occupants. JM-440

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2980 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2a190439
...@@ -218,6 +218,10 @@ public class MultiUserChatServerImpl extends BasicModule implements MultiUserCha ...@@ -218,6 +218,10 @@ public class MultiUserChatServerImpl extends BasicModule implements MultiUserCha
if (IQ.Type.error == iq.getType()) { if (IQ.Type.error == iq.getType()) {
return false; return false;
} }
if (iq.getTo().getResource() != null) {
// Ignore IQ packets sent to room occupants
return false;
}
if (childElement != null) { if (childElement != null) {
namespace = childElement.getNamespaceURI(); namespace = childElement.getNamespaceURI();
} }
......
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