group settings (TEST)

This commit is contained in:
olcxja 2026-08-09 16:51:37 +02:00
commit 08ff4755a1
12 changed files with 416 additions and 24 deletions

View file

@ -256,9 +256,12 @@
const roomKey = randomRoomKey256Chars();
const selfWrapped = await wrapRoomKeyForSelf(roomKey);
let historyVisible = document.getElementById("creategroup-history") ? document.getElementById("creategroup-history").checked.toString() : "false";
let payload = JSON.stringify({
string1: groupName,
string2: selfWrapped
string2: selfWrapped,
string3: historyVisible
});
let res = await fetchEncrypted("group/create", payload);