mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-19 02:59:57 +00:00
Undo a change
This commit is contained in:
parent
d17bb6c0e3
commit
2a8e4842c3
@ -92,7 +92,7 @@ $(function() {
|
|||||||
// Sends a chat message
|
// Sends a chat message
|
||||||
function sendMessage () {
|
function sendMessage () {
|
||||||
// Don't allow sending if key is empty
|
// Don't allow sending if key is empty
|
||||||
if (!$('.key').text().trim().length) return;
|
if (!encryptionKey.trim().length) return;
|
||||||
|
|
||||||
var vector = crypto.getRandomValues(new Uint8Array(16));
|
var vector = crypto.getRandomValues(new Uint8Array(16));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user