import React from 'react'; import ContactsList from './contacts-list'; import Conversation from './conversations'; export default class Messaging extends React.PureComponent { // static propTypes = { // following : ImmutablePropTypes.list, // conversations: ImmutablePropTypes.list, // }; // openConversationWith(account) { // let conversationFound = account; // if conversation exist, focus on it // if (conversationFound) { // // } else { // // } // else, create conversation and focus on it // }; // submitCompose() { // // }; // constructor() { // super(); // // this.props.conversations = [ // { // withAccount: '@machin', // messages : [], // opened : true, // }, // { // withAccount: '@chuck', // messages : [], // opened : false, // }, // ]; // this.props.following = [ // { username: 'wulfila', handle: '@wulfila' }, // { username: 'machin', handle: '@machin' }, // { username: 'chuck norris', handle: '@chuck' }, // ]; // // } render() { // const contactlist = null; return (
messagerie todo
); } };