improve text, remove comment

This commit is contained in:
weboko 2023-01-24 03:25:34 +01:00
parent 0fbad7972f
commit 9b8b8470b4
No known key found for this signature in database
2 changed files with 1 additions and 13 deletions

View File

@ -165,7 +165,7 @@
/>
<div>
<button id="copy-url" style="width: 100px">Copy URL</button>
<button id="open-tab" style="width: 100px">Open in new</button>
<button id="open-tab" style="width: 100px">Open in new tab</button>
</div>
<canvas id="qr-canvas"></canvas>
</div>

View File

@ -74,17 +74,6 @@ async function main() {
ui.hide();
}
/*
// The information needs to be backed up to decrypt messages sent with
// codecs generated with the handshake. The `handshakeResult` variable
// contains private information that needs to be stored safely
const contentTopic = pairingObj.contentTopic;
const handshakeResult = pairingObj.getHandshakeResult();
// To restore the codecs for decrypting older messages, or continuing an existing
// session, use this:
[encoder, decoder] = WakuPairing.getSecureCodec(contentTopic, handshakeResult);
*/
ui.message.display();
await node.filter.subscribe(
@ -207,7 +196,6 @@ function initUI() {
const nicknameInput = document.getElementById("nick-input");
const textInput = document.getElementById("text-input");
const sendButton = document.getElementById("send-btn");
const sendingStatusSpan = document.getElementById("sending-status");
const chatArea = document.getElementById("chat-area");
const wakuStatusSpan = document.getElementById("waku-status");
const handshakeStatusSpan = document.getElementById("handshake-status");