forked from AkkomaGang/akkoma-fe
Merge branch 'develop' into fix/refactoring_status_delete
This commit is contained in:
commit
ed0d02b0ad
2 changed files with 4 additions and 1 deletions
|
@ -18,3 +18,6 @@ build:
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- dist/
|
||||||
|
|
|
@ -203,7 +203,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
|
||||||
let retweet
|
let retweet
|
||||||
// If the retweeted status is already there, don't add the retweet
|
// If the retweeted status is already there, don't add the retweet
|
||||||
// to the timeline.
|
// 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.
|
// Already have it visible, don't add to timeline, don't show.
|
||||||
retweet = addStatus(status, false, false)
|
retweet = addStatus(status, false, false)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue