Support for alpha build channel

This commit is contained in:
Scott Nonnenberg 2021-08-06 14:21:01 -07:00 committed by GitHub
parent c0ab1dff11
commit 7ce89414bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 337 additions and 27 deletions

View file

@ -7,7 +7,7 @@ import {
} from '@signalapp/signal-client';
import { isNumber } from 'lodash';
import { isBeta } from './version';
import { isProduction } from './version';
import { strictAssert } from './assert';
import { getSendOptions } from './getSendOptions';
import { handleMessageSend } from './handleMessageSend';
@ -124,7 +124,7 @@ export async function onRetryRequest(event: RetryRequestEvent): Promise<void> {
}
function maybeShowDecryptionToast(logId: string) {
if (!isBeta(window.getVersion())) {
if (isProduction(window.getVersion())) {
return;
}