Fix: #804 リスト新着投稿通知をストリーミングで受け取った場合、通知メッセージがおかしい (#816)

This commit is contained in:
KMY(雪あすか) 2024-08-22 12:02:48 +09:00 committed by GitHub
parent 6d108e5de3
commit 36f29b4b76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -248,12 +248,17 @@ export function createNotificationGroupFromNotificationJSON(
case 'favourite':
case 'reblog':
case 'status':
case 'list_status':
case 'mention':
case 'status_reference':
case 'poll':
case 'update':
return { ...group, statusId: notification.status?.id };
case 'list_status':
return {
...group,
statusId: notification.status?.id,
list: notification.list,
};
case 'emoji_reaction':
return {
...group,