summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/views/components/post-form.vue
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-26 00:19:07 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-03-26 14:07:16 +0900
commit19b9cb105d49e2a00ae19e3dc1f2d36dc394f148 (patch)
tree5faa9ad213bbf2efdcb4d06cf4fc941a501ab7f8 /src/web/app/mobile/views/components/post-form.vue
parentAllow to use domain whose prefix is not misskey (diff)
downloadmisskey-19b9cb105d49e2a00ae19e3dc1f2d36dc394f148.tar.gz
misskey-19b9cb105d49e2a00ae19e3dc1f2d36dc394f148.tar.bz2
misskey-19b9cb105d49e2a00ae19e3dc1f2d36dc394f148.zip
Introduce account document to user document
An account document is attached to a user document if an account of the user is on the server. It may be missing if the user is on a remote server.
Diffstat (limited to 'src/web/app/mobile/views/components/post-form.vue')
-rw-r--r--src/web/app/mobile/views/components/post-form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/mobile/views/components/post-form.vue b/src/web/app/mobile/views/components/post-form.vue
index 5b47caebc7..2aa3c6f6c0 100644
--- a/src/web/app/mobile/views/components/post-form.vue
+++ b/src/web/app/mobile/views/components/post-form.vue
@@ -111,7 +111,7 @@ export default Vue.extend({
},
post() {
this.posting = true;
- const viaMobile = (this as any).os.i.client_settings.disableViaMobile !== true;
+ const viaMobile = (this as any).os.i.account.client_settings.disableViaMobile !== true;
(this as any).api('posts/create', {
text: this.text == '' ? undefined : this.text,
media_ids: this.files.length > 0 ? this.files.map(f => f.id) : undefined,