Use new compact representations in protobufs
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
parent
157496f822
commit
8251720444
64 changed files with 1000 additions and 459 deletions
13
ts/util/isProtoBinaryEncodingEnabled.ts
Normal file
13
ts/util/isProtoBinaryEncodingEnabled.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
// 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue