Commit 293570e4 authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

fix bug with getting extended info, closes OF-440


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12112 b35dd754-fafc-0310-a699-88a17e54d16e
parent 55d5dc8f
......@@ -1290,10 +1290,10 @@ public class MultiUserChatServiceImpl implements Component, MultiUserChatService
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.subject"));
fieldSubj.addValue(room.getSubject());
/*final FormField fieldOcc = dataForm.addField(); */
fieldSubj.setVariable("muc#roominfo_occupants");
fieldSubj.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.occupants"));
fieldSubj.addValue(Integer.toString(room.getOccupantsCount()));
final FormField fieldOcc = dataForm.addField();
fieldOcc.setVariable("muc#roominfo_occupants");
fieldOcc.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.occupants"));
fieldOcc.addValue(Integer.toString(room.getOccupantsCount()));
/*field = new XFormFieldImpl("muc#roominfo_lang");
field.setLabel(LocaleUtils.getLocalizedString("muc.extended.info.language"));
......
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