"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getRoomInfo = void 0;
var _client = require("@xmpp/client");
const getRoomInfo = (roomJID, client) => {
  //main info, descrription etc
  const message = (0, _client.xml)('iq', {
    id: 'roomInfo',
    to: roomJID,
    type: 'get'
  }, (0, _client.xml)('query', {
    xmlns: 'http://jabber.org/protocol/disco#info'
  }));
  client.send(message);
};
exports.getRoomInfo = getRoomInfo;
//# sourceMappingURL=getRoomInfo.xmpp.js.map