aboutsummaryrefslogtreecommitdiff
path: root/src/components/post_status_form
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2018-06-12 19:28:48 +0200
committerRoger Braun <roger@rogerbraun.net>2018-06-12 19:28:48 +0200
commitd4f5b3feec1da69b69181b0e8a471bf94e5a5e4c (patch)
tree4709b624ee5605dd3168af87d312f066aff7ccd6 /src/components/post_status_form
parent7707048bff772809feaee33d81ff07e028a4ce26 (diff)
Use parents scope if available.
Diffstat (limited to 'src/components/post_status_form')
-rw-r--r--src/components/post_status_form/post_status_form.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js
index 0597d652..4f4c6aca 100644
--- a/src/components/post_status_form/post_status_form.js
+++ b/src/components/post_status_form/post_status_form.js
@@ -23,7 +23,8 @@ const PostStatusForm = {
props: [
'replyTo',
'repliedUser',
- 'attentions'
+ 'attentions',
+ 'messageScope'
],
components: {
MediaUpload
@@ -49,7 +50,7 @@ const PostStatusForm = {
newStatus: {
status: statusText,
files: [],
- visibility: 'public'
+ visibility: this.messageScope || 'public'
},
caret: 0
}