This commit is contained in:
syuilo 2017-11-01 05:00:53 +09:00
parent e05751d456
commit 1e5a394f0c

View file

@ -196,7 +196,7 @@
: undefined; : undefined;
this.api('posts/create', { this.api('posts/create', {
text: this.refs.text.value, text: this.refs.text.value == '' ? undefined : this.refs.text.value,
media_ids: files, media_ids: files,
reply_to_id: this.reply ? this.reply.id : undefined, reply_to_id: this.reply ? this.reply.id : undefined,
channel_id: this.channel.id channel_id: this.channel.id