1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 06:42:05 +01:00

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

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());