mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 17:00:19 +01:00
fix
This commit is contained in:
parent
4c9acc29bb
commit
9400dc5580
1 changed files with 2 additions and 2 deletions
|
@ -163,8 +163,8 @@ async function composeNotification(data: pushNotificationData): Promise<[string,
|
|||
}];
|
||||
|
||||
case 'app':
|
||||
return [body.header || body.body , {
|
||||
body: body.header ? body.body : undefined,
|
||||
return [body.header, {
|
||||
body: body.body,
|
||||
icon: body.icon,
|
||||
data
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue