From d863599f30dd65110dbe8cabe16f7f375d7d42a9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Apr 2017 16:01:49 +0900 Subject: [PATCH] [Client] Fix #401 --- src/web/app/mobile/tags/post-form.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag index 436a364b9..9bce226bf 100644 --- a/src/web/app/mobile/tags/post-form.tag +++ b/src/web/app/mobile/tags/post-form.tag @@ -266,7 +266,7 @@ : undefined; this.api('posts/create', { - text: this.refs.text.value, + text: this.refs.text.value == '' ? undefined : this.refs.text.value, media_ids: files, reply_to_id: opts.reply ? opts.reply.id : undefined, poll: this.poll ? this.refs.poll.get() : undefined