创建新房间时的房间配置。
submitForm.setAnswer("muc#roomconfig_passwordprotectedroom", false);
submitForm.setAnswer("muc#roomconfig_persistentroom", true);
submitForm.setAnswer("muc#roomconfig_changesubject", true);
submitForm.setAnswer("muc#roomconfig_publicroom", true);
submitForm.setAnswer("muc#roomconfig_allowinvites", true);
submitForm.setAnswer("muc#roomconfig_membersonly", false);
submitForm.setAnswer("muc#roomconfig_moderatedroom", false);
submitForm.setAnswer("muc#roomconfig_roomowners", owners);
muc.sendConfigurationForm(submitForm);
在小组聊天活动中,当我为成员和所有者尝试下方法时,所有返回零
List<Affiliate> affiliatesMem = room.getMembers();
List<Occupant> affiliatesMem1 = room.getParticipants();
List<EntityFullJid> affiliatesMem2 = room.getOccupants();
List<Affiliate> affiliatesAdmin = room.getAdmins();
Is i need to do some thing extra?
Thanks