content: import React from 'react'
  import {
    Image
  } from 'react-vr'
  import {formatUrl} from 'yam-data'
  
  const fallbackUrl = 'https://mug0.assets-yammer.com/mugshot/images/{width}x{height}/no_photo.png'
  
  export default class GroupFeed extends React.PureComponent {
    static propTypes = {
      message: React.PropTypes.object,
      sender: React.PropTypes.object,
      isReply: React.PropTypes.bool
    }
  
    render () {
      const {sender: user} = this.props
      const imageUrl = user && user.get('mugshot_url')
      const formattedImageUrl = imageUrl && formatUrl(imageUrl || fallbackUrl, {width: 512, height: 512})
      return (
        <Image
          source={{uri: formattedImageUrl}}
          style={{
            width: 1,
            height: 1
          }}
        />
      )
    }
  }
  