Adds object to posts object on newComment and newLike events.