signal-desktop/ts/util/isProtoBinaryEncodingEnabled.ts
Fedor Indutny 8251720444
Use new compact representations in protobufs
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2025-06-25 10:30:40 -07:00

13 lines
344 B
TypeScript

// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { isTestOrMockEnvironment } from '../environment';
export function isProtoBinaryEncodingEnabled(): boolean {
if (isTestOrMockEnvironment()) {
return true;
}
// TODO: https://signalmessenger.atlassian.net/browse/DESKTOP-8938
return false;
}