logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 95f03a56abe9211e5e9550f226ec0b4fbb18758d
parent 502d76ebcd87dc29f03ded587fe5c92d655931a7
Author: Henry Jameson <me@hjkos.com>
Date:   Mon,  8 Aug 2022 02:18:29 +0300

don't let function access `this`

Diffstat:

Msrc/modules/serverSideStorage.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/serverSideStorage.js b/src/modules/serverSideStorage.js @@ -140,7 +140,7 @@ export const _doMigrations = (cache) => { if (window._PLEROMA_HOTPATCH) { if (window._PLEROMA_HOTPATCH.reverseMigrations) { console.debug('Found hotpatch migration, applying') - return window._PLEROMA_HOTPATCH.reverseMigrations('serverSideStorage', { from: cache._version, to: VERSION }, cache) + return window._PLEROMA_HOTPATCH.reverseMigrations.call({}, 'serverSideStorage', { from: cache._version, to: VERSION }, cache) } } }