fix status action buttons not updating state

This commit is contained in:
Henry Jameson 2026-08-21 15:50:00 +03:00
commit f8ef76811e

View file

@ -136,6 +136,9 @@ const Status = {
status() {
return this.statusoid ?? useStatusesStore().allStatuses.get(this.statusId)
},
retweetedStatus() {
return useStatusesStore().allStatuses.get(this.status.retweeted_status.id)
},
repeater() {
return useUsersStore().findUser(this.status.user.id)
},
@ -205,7 +208,7 @@ const Status = {
},
mainStatus() {
if (this.retweet) {
return this.status.retweeted_status
return this.retweetedStatus
} else {
return this.status
}