DOE for stories
This commit is contained in:
parent
d7307934bc
commit
5639c1adea
8 changed files with 381 additions and 15 deletions
|
@ -418,3 +418,18 @@ export class ViewSyncEvent extends ConfirmableEvent {
|
|||
super('viewSync', confirm);
|
||||
}
|
||||
}
|
||||
|
||||
export type StoryRecipientUpdateData = Readonly<{
|
||||
destinationUuid: string;
|
||||
storyMessageRecipients: Array<Proto.SyncMessage.Sent.IStoryMessageRecipient>;
|
||||
timestamp: number;
|
||||
}>;
|
||||
|
||||
export class StoryRecipientUpdateEvent extends ConfirmableEvent {
|
||||
constructor(
|
||||
public readonly data: StoryRecipientUpdateData,
|
||||
confirm: ConfirmCallback
|
||||
) {
|
||||
super('storyRecipientUpdate', confirm);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue