mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
[Client] Fix #401
This commit is contained in:
parent
cc4d3bf6b1
commit
0c989d454d
@ -266,7 +266,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: opts.reply ? opts.reply.id : undefined,
|
reply_to_id: opts.reply ? opts.reply.id : undefined,
|
||||||
poll: this.poll ? this.refs.poll.get() : undefined
|
poll: this.poll ? this.refs.poll.get() : undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user