Undo a change

This commit is contained in:
Alan Friedman 2016-01-20 17:08:41 -05:00
parent d17bb6c0e3
commit 2a8e4842c3

View File

@ -92,7 +92,7 @@ $(function() {
// Sends a chat message
function sendMessage () {
// 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));