export const createChatroom = (chatroom) => dispatch => (
        ApiUtil.createChatroom(chatroom)
                .then(chatroom => dispatch(subscribeChatroom(chatroom)),
                err => (dispatch(receiveChatroomErrors(err.responseJSON)))       
        )