From 0c7011bd02c85bb0ecb41a44c0e2b7ff4a6bc4c2 Mon Sep 17 00:00:00 2001
From: Mar0xy <marie@kaifa.ch>
Date: Thu, 28 Sep 2023 02:01:01 +0200
Subject: upd: make autoload conversation a toggle

---
 packages/frontend/src/components/MkNoteDetailed.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/frontend/src/components/MkNoteDetailed.vue')

diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue
index 5a0394a29e..3956c9dc51 100644
--- a/packages/frontend/src/components/MkNoteDetailed.vue
+++ b/packages/frontend/src/components/MkNoteDetailed.vue
@@ -517,7 +517,7 @@ function loadConversation() {
 		conversation.value = res.reverse();
 	});
 }
-if (appearNote.reply && appearNote.reply.replyId) loadConversation();
+if (appearNote.reply && appearNote.reply.replyId && defaultStore.state.autoloadConversation) loadConversation();
 </script>
 
 <style lang="scss" module>
-- 
cgit v1.2.3-freya

