diff options
| author | tusooa <tusooa@kazv.moe> | 2023-07-17 17:28:36 -0400 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-07-17 17:28:36 -0400 |
| commit | 441eea36837a132b841d6c7423e146990b48ab16 (patch) | |
| tree | 2d8f13c0de1a85db4f72c409dac4c6788d8a86ad /src/components/post_status_form | |
| parent | 99cff7e28b6f99620e18936af8b4fe8f725eb156 (diff) | |
Do not show quote options for servers without quote support
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 65066d54..97d3cb22 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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 } |
