Make chatRoom.addMessage return an empty promise object (Listing 14.47)
Update addMessage to return the promise which has called reject on error (Listing 14.49)