do not do evil

This commit is contained in:
Jesse-Ma
2023-03-08 14:12:45 +08:00
parent 25d9048506
commit fbb2c4064c
3 changed files with 5 additions and 4 deletions

View File

@@ -591,6 +591,7 @@ export default {
}
var bytes = new Uint8Array(e.target.result);
bytes = bytes.subarray(7,bytes.length-7);
let bytesString = bytes.join(",");
that.noteForm.text = unwrap(bytesString, that.secret.secretKey);
//that.noteForm.escapeText = getEscapeText(that.noteForm.text);