         updatedProps = Object.keys(nextProps).filter (prop) =>
             return typeof nextProps[prop] isnt 'function' and
                 not (_.isEqual(nextProps[prop], @props[prop]))
-        shouldUpdate = not _.isEqual(nextState, @state) or updatedProps.length > 0
+        shouldUpdate = not _.isEqual(nextState, @state) or
+            updatedProps.length > 0
 
         return shouldUpdate
 

DomUtils       = require '../utils/dom_utils'
MessageUtils   = require '../utils/message_utils'
SocketUtils    = require '../utils/socketio_utils'
{MessageFlags, MessageFilter, FlagsConstants} = require '../constants/app_constants'

AccountActionCreator      = require '../actions/account_action_creator'
ContactActionCreator      = require '../actions/contact_action_creator'

                            else
                                delete selected[id]
                            if Object.keys(selected).length > 0
                                newState =
                                    edited: true
                                    selected: selected
                            else
                                newState =
                                    allSelected: false
                                    edited: false
                                    selected: {}
                            @setState newState

                    # If message list is filtered, we can't only rely on
                    # message count
                    # So we assume that if query.pageAfter is null, there's
                    # no more messages to display
                    nbMessages = parseInt(@props.counterMessage, 10)
                    if @props.messages.count() < nbMessages and
                       @props.query.pageAfter?
                        p className: 'text-center list-footer',
                            if @props.fetching
