From 0c989d454d2d2c77d22bd41fd3717208c9a6a72d 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