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 FloatingGhost
parent 587dc9893d
commit 7b1a32a7a8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,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
}))