public void removeChatSessionListener(ChatSessionListener listener){
  mListeners.remove(listener);
}

public void removeChatSessionListener ( ChatSessionListener listener ) { mListeners . remove ( listener ) ; }
removes a chatsessionlistener so that it will no longer be notified .
