mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 08:10:24 +01:00
add app
This commit is contained in:
parent
17da1921df
commit
4c9acc29bb
1 changed files with 7 additions and 0 deletions
|
@ -162,6 +162,13 @@ async function composeNotification(data: pushNotificationData): Promise<[string,
|
|||
],
|
||||
}];
|
||||
|
||||
case 'app':
|
||||
return [body.header || body.body , {
|
||||
body: body.header ? body.body : undefined,
|
||||
icon: body.icon,
|
||||
data
|
||||
}];
|
||||
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue