}
groupchatMenu.addSeparator();
for(Iterator i = conferences.iterator();i.hasNext();)
{
Conference conference = (Conference)i.next();
JID room = conference.getJid();
String nick = conference.getNick();
if(nick==null) nick = backend.getMyJID().getUser();
final JID jid = new JID(room.getUser(),room.getDomain(),nick);
if(conference.autoJoins() && open)startGroupchat(jid);
menuItem = new JMenuItem(conference.getName());
menuItem.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
startGroupchat(jid);