Fixes the encoding of the password in the #toXML method

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2270 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-04-03 16:11:12 +00:00 committed by gdombiak
parent 35c1c035e8
commit fab2c816cf
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class MUCInitialPresence implements PacketExtension {
buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append(
"\">");
if (getPassword() != null) {
buf.append(" password=\"").append(getPassword()).append("\"");
buf.append("<password>").append(getPassword()).append("</password>");
}
if (getHistory() != null) {
buf.append(getHistory().toXML());