mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 11:28:08 +01:00
Key Transparency
This commit is contained in:
@@ -279,6 +279,10 @@ import {
|
||||
getAllMegaphoneImageLocalPaths,
|
||||
hasMegaphone,
|
||||
} from './server/megaphones.std.js';
|
||||
import {
|
||||
getKTAccountData,
|
||||
setKTAccountData,
|
||||
} from './server/keyTransparency.std.js';
|
||||
import { INITIAL_EXPIRE_TIMER_VERSION } from '../util/expirationTimer.std.js';
|
||||
import type { GifType } from '../components/fun/panels/FunPanelGifs.dom.js';
|
||||
import type { NotificationProfileType } from '../types/NotificationProfile.std.js';
|
||||
@@ -499,6 +503,8 @@ export const DataReader: ServerReadableInterface = {
|
||||
getAllMegaphones,
|
||||
hasMegaphone,
|
||||
|
||||
getKTAccountData,
|
||||
|
||||
getAllPinnedMessages,
|
||||
getPinnedMessagesPreloadDataForConversation,
|
||||
getNextExpiringPinnedMessageAcrossConversations,
|
||||
@@ -765,6 +771,8 @@ export const DataWriter: ServerWritableInterface = {
|
||||
snoozeMegaphone,
|
||||
internalDeleteAllMegaphones,
|
||||
|
||||
setKTAccountData,
|
||||
|
||||
appendPinnedMessage,
|
||||
deletePinnedMessageByMessageId,
|
||||
deleteAllExpiredPinnedMessagesBefore,
|
||||
@@ -8384,6 +8392,7 @@ function removeAll(db: WritableDB): void {
|
||||
DELETE FROM identityKeys;
|
||||
DELETE FROM items;
|
||||
DELETE FROM jobs;
|
||||
DELETE FROM key_transparency_account_data;
|
||||
DELETE FROM kyberPreKeys;
|
||||
DELETE FROM megaphones;
|
||||
DELETE FROM message_attachments;
|
||||
@@ -8444,6 +8453,7 @@ function removeAllConfiguration(db: WritableDB): void {
|
||||
DELETE FROM groupSendCombinedEndorsement;
|
||||
DELETE FROM groupSendMemberEndorsement;
|
||||
DELETE FROM jobs;
|
||||
DELETE FROM key_transparency_account_data;
|
||||
DELETE FROM kyberPreKeys;
|
||||
DELETE FROM preKeys;
|
||||
DELETE FROM senderKeys;
|
||||
|
||||
Reference in New Issue
Block a user