mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Use protopiler for protocol buffers
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { callIdFromEra } from '@signalapp/ringrtc';
|
||||
import Long from 'long';
|
||||
import { v4 as generateUuid } from 'uuid';
|
||||
import lodash from 'lodash';
|
||||
|
||||
@@ -156,7 +155,8 @@ function convertLegacyCallDetails(
|
||||
}
|
||||
timestamp = details.acceptedTime ?? details.endedTime ?? fallbackTimestamp;
|
||||
} else if (mode === CallMode.Group) {
|
||||
callId = Long.fromValue(callIdFromEra(details.eraId)).toString();
|
||||
const callIdBigInt: bigint = callIdFromEra(details.eraId);
|
||||
callId = callIdBigInt.toString();
|
||||
type = CallType.Group;
|
||||
direction =
|
||||
details.creatorUuid === ourUuid
|
||||
|
||||
Reference in New Issue
Block a user