From fab2c816cf3f9a2cfde36a6334947e7ebc772c04 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Sat, 3 Apr 2004 16:11:12 +0000 Subject: [PATCH] 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 --- source/org/jivesoftware/smackx/packet/MUCInitialPresence.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smackx/packet/MUCInitialPresence.java b/source/org/jivesoftware/smackx/packet/MUCInitialPresence.java index 2ec1da887..3c804ac00 100644 --- a/source/org/jivesoftware/smackx/packet/MUCInitialPresence.java +++ b/source/org/jivesoftware/smackx/packet/MUCInitialPresence.java @@ -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("").append(getPassword()).append(""); } if (getHistory() != null) { buf.append(getHistory().toXML());