group settings (TEST)
This commit is contained in:
parent
bb135bed65
commit
08ff4755a1
12 changed files with 416 additions and 24 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue