Do not show quote options for servers without quote support

This commit is contained in:
tusooa 2023-07-17 17:28:36 -04:00
commit 441eea3683
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 6 additions and 0 deletions

View file

@ -268,6 +268,10 @@ const PostStatusForm = {
return typeof this.statusId !== 'undefined' && this.statusId.trim() !== ''
},
quotable () {
if (!this.$store.state.instance.quotingAvailable) {
return false
}
if (!this.replyTo) {
return false
}