mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Don't try to fetch FxA migration sentinel from non-supporting server.
This resolves #522.
This commit is contained in:
parent
f03a90ab86
commit
f9daa51971
1 changed files with 2 additions and 1 deletions
|
|
@ -1338,9 +1338,10 @@ Sync11Service.prototype = {
|
||||||
// We successfully synchronized.
|
// We successfully synchronized.
|
||||||
// Check if the identity wants to pre-fetch a migration sentinel from
|
// Check if the identity wants to pre-fetch a migration sentinel from
|
||||||
// the server.
|
// the server.
|
||||||
|
// Only supported by Sync server API level 2+
|
||||||
// If we have no clusterURL, we are probably doing a node reassignment
|
// If we have no clusterURL, we are probably doing a node reassignment
|
||||||
// so don't attempt to get it in that case.
|
// so don't attempt to get it in that case.
|
||||||
if (this.clusterURL) {
|
if (Svc.Prefs.get("APILevel") >= 2 && this.clusterURL) {
|
||||||
this.identity.prefetchMigrationSentinel(this);
|
this.identity.prefetchMigrationSentinel(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue