Don't pollute the original timeline when new media attachment is added

This commit is contained in:
Sean King 2022-06-11 16:38:03 -06:00
parent 80ec88beab
commit 32ecdfdd87
No known key found for this signature in database
GPG Key ID: 510C52BACD6E7257

View File

@ -80,7 +80,7 @@ const ExtraButtons = {
statusText: data.text,
statusIsSensitive: this.status.nsfw,
statusPoll: this.status.poll,
statusFiles: this.status.attachments,
statusFiles: [...this.status.attachments],
visibility: this.status.visibility,
statusContentType: data.content_type
}))