Commit 4fed312c authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Fixed NPE.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3782 b35dd754-fafc-0310-a699-88a17e54d16e
parent 37666d85
......@@ -318,6 +318,9 @@ public class FileTransferProxy extends BasicModule
if (!processed && incoming && packet instanceof IQ) {
IQ iq = (IQ) packet;
Element childElement = iq.getChildElement();
if(childElement == null) {
return;
}
String namespace = childElement.getNamespaceURI();
if ("http://jabber.org/protocol/si".equals(namespace)) {
// If this is a set, check the feature offer
......
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