"use strict";

import { store } from '../../roomStore';
import { presenceInRoom } from './presenceInRoom.xmpp';
export async function allRoomPresences(client) {
  const rooms = store.getState().rooms.rooms;
  await Promise.all(Object.keys(rooms).map(roomJid => presenceInRoom(client, roomJid)));
}
//# sourceMappingURL=allRoomPresences.xmpp.js.map