mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
fixed local without fxa
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
const LOOKUP = [
|
const LOOKUP = Int32Array.from([
|
||||||
0x00000000,
|
0x00000000,
|
||||||
0x77073096,
|
0x77073096,
|
||||||
0xee0e612c,
|
0xee0e612c,
|
||||||
@@ -255,7 +255,7 @@ const LOOKUP = [
|
|||||||
0xc30c8ea1,
|
0xc30c8ea1,
|
||||||
0x5a05df1b,
|
0x5a05df1b,
|
||||||
0x2d02ef8d
|
0x2d02ef8d
|
||||||
];
|
]);
|
||||||
|
|
||||||
module.exports = function crc32(uint8Array, previous) {
|
module.exports = function crc32(uint8Array, previous) {
|
||||||
let crc = previous === 0 ? 0 : ~~previous ^ -1;
|
let crc = previous === 0 ? 0 : ~~previous ^ -1;
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get loginRequired() {
|
get loginRequired() {
|
||||||
return this.authConfig.fxa_required;
|
return this.authConfig && this.authConfig.fxa_required;
|
||||||
}
|
}
|
||||||
|
|
||||||
async metricId() {
|
async metricId() {
|
||||||
|
|||||||
Reference in New Issue
Block a user