 
 
   privateMessageRemoved: (item, index) ->
+    {data} = item
+    delete @messageMap[data.id]
 
     prevSibling = @listController.getListItems()[index-1]
     nextSibling = @listController.getListItems()[index]

  hasSameOwner = (a, b) -> a.getData().account._id is b.getData().account._id

  privateMessageAdded: (item, index) ->
    prevSibling = @listController.getListItems()[index-1]
    nextSibling = @listController.getListItems()[index+1]


    # on page even if events from backend come more than
    # once.
    @participantMap = {}

    @messageMap = {}

    @createParticipantsView()

