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:
parent
35c1c035e8
commit
fab2c816cf
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue