Handle explicit mention changes in status updates

This commit is contained in:
Tusooa Zhu 2022-06-11 20:33:12 -04:00 committed by FloatingGhost
parent a0eb53f73b
commit 7248fbe4b6
1 changed files with 7 additions and 0 deletions

View File

@ -137,6 +137,13 @@ const StatusContent = {
const translateTo = this.$store.getters.mergedConfig.translationLanguage || this.$store.state.instance.interfaceLanguage
this.$store.dispatch('translateStatus', { id: this.status.id, language: translateTo, from: this.translateFrom })
}
},
watch: {
'status.raw_html' (newVal, oldVal) {
if (newVal !== oldVal) {
this.parseReadyDone = false
}
}
}
}