Commit 3f74a150 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Minor stuff.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8536 b35dd754-fafc-0310-a699-88a17e54d16e
parent 36c95744
...@@ -154,10 +154,6 @@ public class Message extends Packet { ...@@ -154,10 +154,6 @@ public class Message extends Packet {
} }
return; return;
} }
// Do nothing if the new body is null
if (body == null) {
return;
}
if (bodyElement == null) { if (bodyElement == null) {
bodyElement = element.addElement("body"); bodyElement = element.addElement("body");
} }
......
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