summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/post-form.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-29 07:01:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-29 07:01:47 +0900
commite9940c92214f4b70b6f8dfdf1f4dd7ce1814e67d (patch)
tree19e207c8231fd8e0f7c44ee8632c19ebf5db8d26 /src/client/app/desktop/views/components/post-form.vue
parentwip (diff)
downloadmisskey-e9940c92214f4b70b6f8dfdf1f4dd7ce1814e67d.tar.gz
misskey-e9940c92214f4b70b6f8dfdf1f4dd7ce1814e67d.tar.bz2
misskey-e9940c92214f4b70b6f8dfdf1f4dd7ce1814e67d.zip
wip
Diffstat (limited to 'src/client/app/desktop/views/components/post-form.vue')
-rw-r--r--src/client/app/desktop/views/components/post-form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue
index a9ce1354da..d704cdc3ca 100644
--- a/src/client/app/desktop/views/components/post-form.vue
+++ b/src/client/app/desktop/views/components/post-form.vue
@@ -291,7 +291,7 @@ export default Vue.extend({
poll: this.poll ? (this.$refs.poll as any).get() : undefined,
cw: this.useCw ? this.cw || '' : undefined,
visibility: this.visibility,
- visibleUserIds: this.visibleUsers.map(u => u.id),
+ visibleUserIds: this.visibility == 'specified' ? this.visibleUsers.map(u => u.id) : undefined,
geo: this.geo ? {
coordinates: [this.geo.longitude, this.geo.latitude],
altitude: this.geo.altitude,