code: def get_room_config(jid):
      
  
      mapping = {
          'name': 'muc#roomconfig_roomname',
          'description': 'muc#roomconfig_roomdesc',
          'password': 'muc#roomconfig_roomsecret'
      }
  
      def _get_room_config(xmpp):
          muc = xmpp.plugin['xep_0045']
          try:
              form = muc.getRoomConfig(jid)
          except ValueError:  # probably the room doesn't exist
              return None
          fields = form.values['fields']
          return {key: fields[muc_key].values['value'] for key, muc_key in mapping.iteritems()}
  
      return _execute_xmpp(_get_room_config)
docs: Retrieves basic data of a MUC room from the XMPP server.
  
      :return: dict containing name, description and password of the room