Add message preset functionality.

This commit is contained in:
Roger Braun 2018-04-29 16:44:08 +02:00
parent 3ffb17c0ae
commit 462eeb90b9
1 changed files with 2 additions and 1 deletions

View File

@ -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