From 7b1a32a7a89cc1cf07561cdb2f293acd448fddaf Mon Sep 17 00:00:00 2001
From: Sean King <seanking2919@protonmail.com>
Date: Sat, 11 Jun 2022 16:38:03 -0600
Subject: [PATCH] Don't pollute the original timeline when new media attachment
 is added

---
 src/components/extra_buttons/extra_buttons.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js
index 6f59b11d..2a375a80 100644
--- a/src/components/extra_buttons/extra_buttons.js
+++ b/src/components/extra_buttons/extra_buttons.js
@@ -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
         }))