Add new release line for testing

This commit is contained in:
Fedor Indutny
2024-11-20 19:14:21 -08:00
committed by GitHub
parent 70dd062753
commit 34cc87e8a8
17 changed files with 199 additions and 43 deletions

View File

@@ -46,7 +46,7 @@ import WebSocketResource, {
import { ConnectTimeoutError, HTTPError } from './Errors';
import type { IRequestHandler, WebAPICredentials } from './Types.d';
import { connect as connectWebSocket } from './WebSocket';
import { isAlpha, isBeta, isStaging } from '../util/version';
import { isNightly, isBeta, isStaging } from '../util/version';
import { getBasicAuth } from '../util/getBasicAuth';
const FIVE_MINUTES = 5 * durations.MINUTE;
@@ -601,7 +601,7 @@ export class SocketManager extends EventListener {
// in alpha, switch to using libsignal transport, unless user opts out,
// in which case switching to shadowing
if (isAlpha(this.options.version)) {
if (isNightly(this.options.version)) {
const configValue = window.Signal.RemoteConfig.isEnabled(
'desktop.experimentalTransportEnabled.alpha'
);