Commit 9901a2ed authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Code cleanup.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@685 b35dd754-fafc-0310-a699-88a17e54d16e
parent 93349560
......@@ -89,7 +89,6 @@ public class IQAuthHandler extends IQHandler implements IQAuthInfo {
String username = query.elementTextTrim("username");
queryResponse.element("username").setText(username);
response = IQ.createResultIQ(packet);
queryResponse.setParent(null);
response.setChildElement(queryResponse);
// This is a workaround. Since we don't want to have an incorrect TO attribute
// value we need to clean up the TO attribute and send directly the response.
......
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