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
Signed by untrusted user who does not match committer: nbsp
GPG Key ID: 9D3F2B64F2341B62
1 changed files with 1 additions and 1 deletions

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