From 441eea36837a132b841d6c7423e146990b48ab16 Mon Sep 17 00:00:00 2001 From: tusooa Date: Mon, 17 Jul 2023 17:28:36 -0400 Subject: Do not show quote options for servers without quote support --- src/components/post_status_form/post_status_form.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/components') 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 } -- cgit v1.2.3-70-g09d2