"use strict";

export const normalizeRoomJid = (roomJID, conference) => {
  if (!roomJID) {
    return roomJID;
  }
  if (roomJID.includes('@')) {
    return roomJID;
  }
  if (!conference) {
    return roomJID;
  }
  return `${roomJID}@${conference}`;
};
//# sourceMappingURL=normalizeRoomJid.js.map