diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-12-08 12:45:09 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-12-08 12:45:09 +0100 |
| commit | 7978ffeb1d20c3b2568ecd351747229a2548e4d3 (patch) | |
| tree | e49c8ad9eb505d10ea2f99f83f0ab4ba7c934bfe /src/modules/statuses.js | |
| parent | f7e9f17e4c895d4a5f8aa15db674fd714396b334 (diff) | |
Check all statuses in timeline for old retweets.
This will fix the problem of retweets showing up again and again.
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index aab198d8..1db1f1b0 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -203,7 +203,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us let retweet // If the retweeted status is already there, don't add the retweet // to the timeline. - if (timeline && find(timelineObject.visibleStatuses, {id: retweetedStatus.id})) { + if (timeline && find(timelineObject.statuses, {id: retweetedStatus.id})) { // Already have it visible, don't add to timeline, don't show. retweet = addStatus(status, false, false) } else { |
