"use strict";

import { xml } from '@xmpp/client';
export const getRoomMembers = (roomJID, client) => {
  const message = xml('iq', {
    id: 'roomMemberInfo',
    type: 'get'
  }, xml('query', {
    xmlns: 'ns:room:last',
    room: roomJID
  }));
  client.send(message);
};
//# sourceMappingURL=getRoomMembers.xmpp.js.map