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 committed by Sol Fisher Romanoff
parent 2dfef8acea
commit a9ada1899e
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62

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
}))