public PrivateChatTab getPrivateChatByName(String nickname) {
        nickname = nickname.toLowerCase();
        for (PrivateChatTab chat : privateChatTabs) {
            if ( chat.getTabName().toLowerCase().equals(nickname) )
                return chat;
        }

        return null;
    }