mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2026-05-25 16:43:44 -06:00
Upgrade from matrix-js-sdk v34 to v34.13.0
This commit is contained in:
@@ -58,11 +58,11 @@ module.exports = function(RED) {
|
||||
RED.nodes.registerType("matrix-decrypt-file", MatrixDecryptFile);
|
||||
|
||||
function atob(a) {
|
||||
return new Buffer.from(a, 'base64').toString('binary');
|
||||
return Buffer.from(a, 'base64').toString('binary');
|
||||
}
|
||||
|
||||
function btoa(b) {
|
||||
return new Buffer.from(b).toString('base64');
|
||||
return Buffer.from(b).toString('base64');
|
||||
}
|
||||
|
||||
// the following was taken & modified from https://github.com/matrix-org/browser-encrypt-attachment/blob/master/index.js
|
||||
|
||||
Reference in New Issue
Block a user