"use strict";

import { xml } from '@xmpp/client';
export const getRoomInfo = (roomJID, client) => {
  //main info, descrription etc
  const message = xml('iq', {
    id: 'roomInfo',
    to: roomJID,
    type: 'get'
  }, xml('query', {
    xmlns: 'http://jabber.org/protocol/disco#info'
  }));
  client.send(message);
};
//# sourceMappingURL=getRoomInfo.xmpp.js.map