mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Move websocket preconnect earlier into startup
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ export function isStagingServer(
|
||||
if (getEnvironment() === Environment.Staging) {
|
||||
return true;
|
||||
}
|
||||
if (isStaging(window.getVersion())) {
|
||||
if (isStaging(window.SignalContext.getVersion())) {
|
||||
return true;
|
||||
}
|
||||
return /staging/i.test(serverUrl);
|
||||
|
||||
Reference in New Issue
Block a user