Unify MessageReceiver and MessageReceiverInner
This commit is contained in:
parent
a05d528c1f
commit
9c6343e10d
3 changed files with 356 additions and 367 deletions
|
@ -119,8 +119,13 @@ export class ContactSyncEvent extends Event {
|
|||
}
|
||||
}
|
||||
|
||||
export type GroupEventData = Omit<ModifiedGroupDetails, 'id'> &
|
||||
Readonly<{
|
||||
id: string;
|
||||
}>;
|
||||
|
||||
export class GroupEvent extends Event {
|
||||
constructor(public readonly groupDetails: ModifiedGroupDetails) {
|
||||
constructor(public readonly groupDetails: GroupEventData) {
|
||||
super('group');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue