Drop verified syncs, use storage service for event
This commit is contained in:
parent
8c4b875dca
commit
da45f26d37
5 changed files with 10 additions and 135 deletions
|
@ -379,25 +379,6 @@ export class StickerPackEvent extends ConfirmableEvent {
|
|||
}
|
||||
}
|
||||
|
||||
export type VerifiedEventData = Readonly<{
|
||||
state: Proto.IVerified['state'];
|
||||
destination?: string;
|
||||
destinationUuid?: string;
|
||||
identityKey?: Uint8Array;
|
||||
|
||||
// Used in `ts/background.ts`
|
||||
viaContactSync?: boolean;
|
||||
}>;
|
||||
|
||||
export class VerifiedEvent extends ConfirmableEvent {
|
||||
constructor(
|
||||
public readonly verified: VerifiedEventData,
|
||||
confirm: ConfirmCallback
|
||||
) {
|
||||
super('verified', confirm);
|
||||
}
|
||||
}
|
||||
|
||||
export type ReadSyncEventData = Readonly<{
|
||||
timestamp?: number;
|
||||
envelopeTimestamp: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue