fix searches loading, it broke sometimes. not sure why
This commit is contained in:
parent
a90430f72f
commit
4220321840
1 changed files with 2 additions and 1 deletions
|
|
@ -261,7 +261,8 @@ 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 (rootState.config.dedupeBoosts && timeline && find(timelineObject.statuses, (s) => {
|
||||
var cond = rootState !== undefined ? rootState.config.dedupeBoosts : true
|
||||
if (cond && rootState.config.dedupeBoosts && timeline && find(timelineObject.statuses, (s) => {
|
||||
if (s.retweeted_status) {
|
||||
return s.id === retweetedStatus.id || s.retweeted_status.id === retweetedStatus.id
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue