@ethora/chat-component 24.11.17 → 24.11.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -17427,7 +17427,7 @@ const zh = P.div`
17427
17427
  }, v = async () => {
17428
17428
  o[a] ? m() : (e.presenceInRoomStanza(a), await e.getRooms(), await m());
17429
17429
  };
17430
- n(ct({ loading: !0, chatJID: a })), ((N = Object.keys(o)) == null ? void 0 : N.length) > 0 && (!(o != null && o[a]) && Object.keys(o).length > 0 ? v() : d.length < 1 ? m() : n(ct({ loading: !1, chatJID: a })));
17430
+ n(ct({ loading: !0, chatJID: a })), ((N = Object.keys(o)) == null ? void 0 : N.length) > 0 ? !(o != null && o[a]) && Object.keys(o).length > 0 ? v() : d.length < 1 ? m() : n(ct({ loading: !1, chatJID: a })) : o != null && o[a] || v();
17431
17431
  }, [a, Object.keys(o).length]), !a || ((C = Object.keys(o)) == null ? void 0 : C.length) < 1 || !(o != null && o[a]) ? /* @__PURE__ */ p(
17432
17432
  "div",
17433
17433
  {
@@ -19522,7 +19522,7 @@ const N9 = ({ src: t }) => {
19522
19522
  }).finally(() => i(!0));
19523
19523
  }), ei()), u(ct({ loading: !1 }));
19524
19524
  } catch (S) {
19525
- a(!1), i(!1), u(ct({ loading: !1 })), console.log(S);
19525
+ a(!0), i(!1), u(ct({ loading: !1 })), console.log(S);
19526
19526
  }
19527
19527
  })();
19528
19528
  }, [l]), me(() => {