Commit 32f69c36 authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

fix getExtendedInfo creates malformed XML, closes OF-428


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12019 b35dd754-fafc-0310-a699-88a17e54d16e
parent d63d5eea
......@@ -1290,7 +1290,7 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.subject"));
fieldSubj.addValue(room.getSubject());
/*final FormField fieldOcc =*/ dataForm.addField();
/*final FormField fieldOcc = dataForm.addField(); */
fieldSubj.setVariable("muc#roominfo_occupants");
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.occupants"));
fieldSubj.addValue(Integer.toString(room.getOccupantsCount()));
......@@ -1450,4 +1450,4 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
return isHidden;
}
}
\ No newline at end of file
}
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