var React = require('react'); var ComponentBroker = require('../../ComponentBroker'); var MessageTile = ComponentBroker.get('molecules/MessageTile'); var RoomHeader = ComponentBroker.get('molecules/RoomHeader'); var MemberList = ComponentBroker.get('organisms/MemberList'); var MessageComposer = ComponentBroker.get('molecules/MessageComposer'); var RoomViewController = require("../../controllers/organisms/RoomView"); module.exports = React.createClass({ displayName: 'RoomView', mixins: [RoomViewController], getMessageTiles: function() { return this.state.room.timeline.map(function(mxEv) { return (
  • ); }); }, render: function() { return (
      {this.getMessageTiles()}
    ); }, });