mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 20:03:25 +01:00
Use new compact representations in protobufs
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user