mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 07:36:00 +01:00
@@ -134,10 +134,7 @@ import {
|
||||
fromAdminKeyBytes,
|
||||
toCallHistoryFromUnusedCallLink,
|
||||
} from '../../util/callLinks.std.js';
|
||||
import {
|
||||
getRoomIdFromRootKey,
|
||||
fromEpochBytes,
|
||||
} from '../../util/callLinksRingrtc.node.js';
|
||||
import { getRoomIdFromRootKey } from '../../util/callLinksRingrtc.node.js';
|
||||
import { loadAllAndReinitializeRedux } from '../allLoaders.preload.js';
|
||||
import {
|
||||
startBackupMediaDownload,
|
||||
@@ -1451,7 +1448,6 @@ export class BackupImportStream extends Writable {
|
||||
): Promise<void> {
|
||||
const {
|
||||
rootKey: rootKeyBytes,
|
||||
epoch,
|
||||
adminKey,
|
||||
name,
|
||||
restrictions,
|
||||
@@ -1466,7 +1462,6 @@ export class BackupImportStream extends Writable {
|
||||
const callLink: CallLinkType = {
|
||||
roomId: getRoomIdFromRootKey(rootKey),
|
||||
rootKey: rootKey.toString(),
|
||||
epoch: epoch?.length ? fromEpochBytes(epoch) : null,
|
||||
adminKey: adminKey?.length ? fromAdminKeyBytes(adminKey) : null,
|
||||
name,
|
||||
restrictions: fromCallLinkRestrictionsProto(restrictions),
|
||||
|
||||
Reference in New Issue
Block a user