Allow JIT based on site or resource

This commit is contained in:
Owen
2026-03-04 15:44:27 -08:00
parent f315c8bc43
commit c73a39f797
7 changed files with 156 additions and 10 deletions

View File

@@ -265,12 +265,14 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
return;
}
// NOTE: its important that the client here is the old client and the public key is the new key
const siteConfigurations = await buildSiteConfigurationForOlmClient(
client,
publicKey,
relay
);
// // NOTE: its important that the client here is the old client and the public key is the new key
// const siteConfigurations = await buildSiteConfigurationForOlmClient(
// client,
// publicKey,
// relay
// );
const siteConfigurations: any = [];
// REMOVED THIS SO IT CREATES THE INTERFACE AND JUST WAITS FOR THE SITES
// if (siteConfigurations.length === 0) {