From 462eeb90b945711b995726d908d001a6d21735e7 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 29 Apr 2018 16:44:08 +0200 Subject: [PATCH] Add message preset functionality. --- src/components/post_status_form/post_status_form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 6c95873cc8..6bcf1c66fb 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -32,7 +32,8 @@ const PostStatusForm = { this.resize(this.$refs.textarea) }, data () { - let statusText = '' + const preset = this.$route.query.message + let statusText = preset || '' if (this.replyTo) { const currentUser = this.$store.state.users.currentUser