code: public void onConversationHidden(Peer peer) {
          if (visiblePeer != null && visiblePeer.equals(peer)) {
              this.visiblePeer = null;
          }
      }
docs: Processing Conversation hidden event
  
  @param peer peer