}
@Override
public void addContact(final ContactInfo contact) {
if(!chats.containsKey(contact.getEmail())){
final ChatPanel chatWindow = new ChatPanel(contact.getEmail());
chatWindow.setUiHandlers(uiHandlers);
chatWindow.setOnline(contact.isOnline());
chats.put(contact.getEmail(), chatWindow);
friends.insert(chatWindow, 0);
}
}