diff options
| author | shpuld <shp@cock.li> | 2018-12-28 21:44:09 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-12-28 21:44:09 +0200 |
| commit | 650655709dd617a558709ffbf8911f05f7c17267 (patch) | |
| tree | 5d87472d287b93bc845e442c91006070ef88f85d /src/modules/statuses.js | |
| parent | 85c058e95c04245dacf3ffb6b45a6eceb3253e7b (diff) | |
| parent | a86b80b0544ca93a1b59ff521fd9b1e8bbc3f8c9 (diff) | |
fix conflict in user card content
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 8c2d36bc..dccccf72 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -27,6 +27,7 @@ export const defaultState = { maxId: 0, minId: Number.POSITIVE_INFINITY, data: [], + idStore: {}, error: false }, favorites: new Set(), @@ -307,6 +308,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot } state.notifications.data.push(result) + state.notifications.idStore[notification.id] = result if ('Notification' in window && window.Notification.permission === 'granted') { const title = action.user.name |
