You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups
This commit is contained in:
@@ -281,7 +281,7 @@ fi
|
|||||||
echo "updating master branch"
|
echo "updating master branch"
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
git merge --ff-only "$rel_branch"
|
git merge "$rel_branch"
|
||||||
|
|
||||||
# push master and docs (if generated) to github
|
# push master and docs (if generated) to github
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ import Crypto from './crypto';
|
|||||||
import { isCryptoAvailable } from './crypto';
|
import { isCryptoAvailable } from './crypto';
|
||||||
import { encodeRecoveryKey, decodeRecoveryKey } from './crypto/recoverykey';
|
import { encodeRecoveryKey, decodeRecoveryKey } from './crypto/recoverykey';
|
||||||
|
|
||||||
|
// Disable warnings for now: we use deprecated bluebird functions
|
||||||
|
// and need to migrate, but they spam the console with warnings.
|
||||||
|
Promise.config({warnings: false});
|
||||||
|
|
||||||
const LAZY_LOADING_MESSAGES_FILTER = {
|
const LAZY_LOADING_MESSAGES_FILTER = {
|
||||||
lazy_load_members: true,
|
lazy_load_members: true,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ function txnAsPromise(txn) {
|
|||||||
resolve(event);
|
resolve(event);
|
||||||
};
|
};
|
||||||
txn.onerror = function(event) {
|
txn.onerror = function(event) {
|
||||||
reject(event);
|
reject(event.target.error);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,7 @@ function reqAsEventPromise(req) {
|
|||||||
resolve(event);
|
resolve(event);
|
||||||
};
|
};
|
||||||
req.onerror = function(event) {
|
req.onerror = function(event) {
|
||||||
reject(event);
|
reject(event.target.error);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user