735737f0bc
Eliminates the global Whisper.Messages object and consolidates shared send/receive logic in Whisper.Threads. To the latter end, note that the decrypted array buffer on an attachment pointer is now named data instead of decrypted, in order to match the format of outgoing attachments presented by FileReader.readAsArrayBuffers and let us use the same handler to base64 encode them. |
||
---|---|---|
.. | ||
messages.js | ||
threads.js |