From 7600ce2591add1f73797e0937758ecfa37f5406f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Nov 2017 05:00:53 +0900 Subject: [PATCH] Fix bug --- src/web/app/ch/tags/channel.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/ch/tags/channel.tag b/src/web/app/ch/tags/channel.tag index 12a6b5a3b..6ffa6bccf 100644 --- a/src/web/app/ch/tags/channel.tag +++ b/src/web/app/ch/tags/channel.tag @@ -196,7 +196,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: this.reply ? this.reply.id : undefined, channel_id: this.channel.id