parent
8bb586c1fd
commit
2442592ef1
14 changed files with 108 additions and 10 deletions
|
|
@ -67,6 +67,12 @@ export class NotificationRepository extends Repository<Notification> {
|
|||
}),
|
||||
choice: notification.choice,
|
||||
} : {}),
|
||||
...(notification.type === 'pollEnded' ? {
|
||||
note: Notes.pack(notification.note || notification.noteId!, { id: notification.notifieeId }, {
|
||||
detail: true,
|
||||
_hint_: options._hintForEachNotes_,
|
||||
}),
|
||||
} : {}),
|
||||
...(notification.type === 'groupInvited' ? {
|
||||
invitation: UserGroupInvitations.pack(notification.userGroupInvitationId!),
|
||||
} : {}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue