diff options
| author | Sean King <seanking2919@protonmail.com> | 2022-06-11 16:38:03 -0600 |
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2022-06-11 16:38:03 -0600 |
| commit | 32ecdfdd8738befa004f865f496b7df17a4c2030 (patch) | |
| tree | be867dd1a7d1115c9a018bdda7db89b41b8bf0cc /src/components/extra_buttons/extra_buttons.js | |
| parent | 80ec88beabefd41e75040dd35364a94783e423a0 (diff) | |
Don't pollute the original timeline when new media attachment is added
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.js')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 9508a707..8a703953 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -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 })) |
