             <div style={marginTop: '-12px', marginBottom: '15px', color:'#666'}>
                 <Tip title='Use Markdown' tip={tip}>
                     Shift+Enter for newline.
+                    Double click to edit past chats.
                     Format using <a href='https://help.github.com/articles/markdown-basics/' target='_blank'>Markdown</a>.
                     Emoticons: {misc.emoticons}.
                 </Tip>

        author_id = @redux.getStore('account').get_account_id()
        # OPTIMIZATION: send less data over the network?
        time_stamp = salvus_client.server_time()
        #console.log("Current history", message.get('history').toJS())
        #console.log("New history", [{author_id: author_id, content:mesg, date:time_stamp}].concat(message.get('history').toJS()))
        #console.log("Get date:", message.get('date'), typeof message.get('date'))

        @syncdb.update
            set :
                history : [{author_id: author_id, content:mesg, date:time_stamp}].concat(message.get('history').toJS())
            where :
                date: message.get('date')
            is_equal: (a, b) => (a - 0) == (b - 0)

    shouldComponentUpdate: (next) ->
        return @props.messages != next.messages or @props.user_map != next.user_map or @props.account_id != next.account_id

    get_user_name: (account_id) ->
        account = @props.user_map.get(account_id)
        if account?
            account_name = account.get('first_name') + ' ' + account.get('last_name')
        else
            account_name = "Unknown"

    list_messages: ->
        is_next_message_sender = (index, dates, messages) ->
            if index + 1 == dates.length
