Change Phone Number notifications

This commit is contained in:
Fedor Indutny 2021-08-05 16:34:49 -07:00 committed by GitHub
parent 4b82ac387b
commit a001882d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 277 additions and 39 deletions

View file

@ -5,7 +5,11 @@
import { PublicKey } from '@signalapp/signal-client';
import { SignalService as Proto } from '../protobuf';
import { ProcessedDataMessage, ProcessedSent } from './Types.d';
import {
ProcessedEnvelope,
ProcessedDataMessage,
ProcessedSent,
} from './Types.d';
import type {
ModifiedContactDetails,
ModifiedGroupDetails,
@ -136,6 +140,12 @@ export class GroupSyncEvent extends Event {
}
}
export class EnvelopeEvent extends Event {
constructor(public readonly envelope: ProcessedEnvelope) {
super('envelope');
}
}
//
// Confirmable events below
//