minor fix and renames
This commit is contained in:
parent
f8ef76811e
commit
3e59c61baf
3 changed files with 18 additions and 12 deletions
|
|
@ -115,7 +115,6 @@ export const useStatusesStore = defineStore('statuses', {
|
|||
return addStatus(status)
|
||||
},
|
||||
retweet: (status) => {
|
||||
// RetweetedStatuses are never shown immediately
|
||||
if (status.retweeted_status) addStatus(status.retweeted_status)
|
||||
return addStatus(status)
|
||||
},
|
||||
|
|
@ -143,6 +142,11 @@ export const useStatusesStore = defineStore('statuses', {
|
|||
timestamp,
|
||||
})
|
||||
|
||||
const { in_reply_to_user_id } = status
|
||||
if (in_reply_to_user_id) {
|
||||
useUsersStore().fetchUserIfMissing({ id: in_reply_to_user_id })
|
||||
}
|
||||
|
||||
existing.user = user // reactive update in case we return old
|
||||
|
||||
// implicit: if oldTimestamp is undefined this will still be false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue