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 ...@@ -1290,7 +1290,7 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.subject")); fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.subject"));
fieldSubj.addValue(room.getSubject()); fieldSubj.addValue(room.getSubject());
/*final FormField fieldOcc =*/ dataForm.addField(); /*final FormField fieldOcc = dataForm.addField(); */
fieldSubj.setVariable("muc#roominfo_occupants"); fieldSubj.setVariable("muc#roominfo_occupants");
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.occupants")); fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.occupants"));
fieldSubj.addValue(Integer.toString(room.getOccupantsCount())); fieldSubj.addValue(Integer.toString(room.getOccupantsCount()));
......
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