Call Disposition
This commit is contained in:
parent
9927b132b9
commit
e5638c0b20
20 changed files with 445 additions and 53 deletions
|
@ -404,6 +404,27 @@ export class ViewSyncEvent extends ConfirmableEvent {
|
|||
}
|
||||
}
|
||||
|
||||
export type CallEventSyncEventData = Readonly<{
|
||||
timestamp: number;
|
||||
peerUuid: string;
|
||||
callId: string;
|
||||
wasVideoCall: boolean;
|
||||
wasIncoming: boolean;
|
||||
wasDeclined: boolean;
|
||||
acceptedTime: number | undefined;
|
||||
endedTime: number | undefined;
|
||||
receivedAtCounter: number;
|
||||
}>;
|
||||
|
||||
export class CallEventSyncEvent extends ConfirmableEvent {
|
||||
constructor(
|
||||
public readonly callEvent: CallEventSyncEventData,
|
||||
confirm: ConfirmCallback
|
||||
) {
|
||||
super('callEventSync', confirm);
|
||||
}
|
||||
}
|
||||
|
||||
export type StoryRecipientUpdateData = Readonly<{
|
||||
destinationUuid: string;
|
||||
storyMessageRecipients: Array<Proto.SyncMessage.Sent.IStoryMessageRecipient>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue