code: @SuppressWarnings("deprecation")
      @Deprecated
      // Do not re-use Chat API, which was designed for XMPP-IM 1:1 chats and not MUClight private chats.
      public org.jivesoftware.smack.chat.Chat createPrivateChat(EntityJid occupant, ChatMessageListener listener) {
          return org.jivesoftware.smack.chat.ChatManager.getInstanceFor(connection).createChat(occupant, listener);
      }
docs: Returns a new Chat for sending private messages to a given room occupant.
  The Chat's occupant address is the room's JID (i.e.
  roomName@service/nick). The server service will change the 'from' address
  to the sender's room JID and delivering the message to the intended
  recipient's full JID.
  
  @param occupant
  occupant unique room JID (e.g.
  'darkcave@macbeth.shakespeare.lit/Paul').
  @param listener
  the listener is a message listener that will handle messages
  for the newly created chat.
  @return new Chat for sending private messages to a given room occupant.