From fab5a00f38994cb678577994eff2b90e6a187aeb Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Mon, 12 Dec 2022 18:50:58 +0100 Subject: [PATCH] higher permission required to create own streams for custom collections --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index e52e774..4a38a14 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ - - + + @@ -222,6 +222,7 @@ var immersClient // See dedicated issue https://git.benetou.fr/utopiah/text-code-xr-engine/issues/47 document.querySelector("#immersbundle").addEventListener('load',(event) => { immersClient = document.querySelector("immers-hud").immersClient + document.querySelector("immers-hud").setAttribute("access-role", "modFull") document.querySelector("immers-hud").immersClient.addEventListener("immers-client-connected", _ => { immersClient.addEventListener("immers-client-new-message", e => addNewNote(e.detail.message.messageHTML) ) immersClient.friendsList().then( r => { @@ -243,8 +244,6 @@ function ims(msg){ // can send code too e.g immersClient.sendChatMessage("jxr loadPageRange(3,4)", "public") /* not sure what's the right way... but timeout works, others don't. -document.addEventListener("immers-client-connected", _ => console.log("connected")) -window.addEventListener("immers-client-connected", _ => console.log("connected")) immers-client-friends-update or immers-client-new-message to keep track of conversations between recurring meeting? Say you join a room, spend a working session with colleagues then leave. Could these be used to in this context to send reminders to those who subscribed to that event? */