do not regenerate status object
This commit is contained in:
parent
9a9d66dca1
commit
78a4ab98af
1 changed files with 3 additions and 5 deletions
|
@ -461,11 +461,9 @@ export const mutations = {
|
||||||
state.timelines[timeline].flushMarker = id
|
state.timelines[timeline].flushMarker = id
|
||||||
},
|
},
|
||||||
addFavsAndRepeats (state, { id, favoritedByUsers, rebloggedByUsers }) {
|
addFavsAndRepeats (state, { id, favoritedByUsers, rebloggedByUsers }) {
|
||||||
state.allStatusesObject[id] = {
|
const newStatus = state.allStatusesObject[id]
|
||||||
...state.allStatusesObject[id],
|
newStatus.favoritedBy = favoritedByUsers
|
||||||
favoritedBy: favoritedByUsers,
|
newStatus.rebloggedBy = rebloggedByUsers
|
||||||
rebloggedBy: rebloggedByUsers
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue