Fix: #660 絵文字リアクションのストリーミングを受信した時点で投稿のカウントが更新されない (#683)

This commit is contained in:
KMY(雪あすか) 2024-04-01 08:26:30 +09:00 committed by GitHub
parent a58a3f9d97
commit 4a9f549dd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 10 deletions

View file

@ -105,7 +105,7 @@ export const connectTimelineStream = (timelineId, channelName, params = {}, opti
break;
case 'emoji_reaction':
// @ts-expect-error
dispatch(updateEmojiReactions(JSON.parse(data.payload), getState().getIn(['meta', 'me'])));
dispatch(updateEmojiReactions(JSON.parse(data.payload)));
break;
case 'conversation':
// @ts-expect-error