diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-12-01 17:54:12 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-12-01 18:59:24 +0100 |
commit | 4b85bf12ab7005a5a6b4472b8aeaf022ce042ad7 (patch) | |
tree | a0270c3696559a3f77ada18f7b1a04af494c0c87 /app/javascript/flavours/glitch | |
parent | 3cbe0c26bbc2a9a70542ca6d43336d06aae8f42d (diff) |
Fix since_id
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/actions/notifications.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/notifications.js b/app/javascript/flavours/glitch/actions/notifications.js index ddf14f78f..0184d9c80 100644 --- a/app/javascript/flavours/glitch/actions/notifications.js +++ b/app/javascript/flavours/glitch/actions/notifications.js @@ -102,7 +102,7 @@ export function expandNotifications({ maxId } = {}, done = noOp) { }; if (!maxId && notifications.get('items').size > 0) { - params.since_id = notifications.getIn(['items', 0]); + params.since_id = notifications.getIn(['items', 0, 'id']); } dispatch(expandNotificationsRequest(isLoadingMore)); |