diff --git a/src/changelog.json b/src/changelog.json
index 76352e80..99515984 100644
--- a/src/changelog.json
+++ b/src/changelog.json
@@ -6,7 +6,8 @@
"Prevent ghost files from being created when no messages are available for export.",
"Apply Advanced Filters to multi-Channel exports.",
"Show Channel name on thread/forum post messages in Guild exports.",
- "Fix issue where standard emojis were not rendered properly in reaction dialog."
+ "Fix issue where standard emojis were not rendered properly in reaction dialog.",
+ "Hide Separate Threads & Forum Posts export option for DM exports."
]
},
{
diff --git a/src/containers/export-button/components/default-content.tsx b/src/containers/export-button/components/default-content.tsx
index 54601319..a6853eb6 100644
--- a/src/containers/export-button/components/default-content.tsx
+++ b/src/containers/export-button/components/default-content.tsx
@@ -15,9 +15,14 @@ import SeparateThreadToggle from "./separate-thread-toggle";
type DefaultContentProps = {
isExporting: boolean;
messageCount: number;
+ isDm: boolean;
};
-const DefaultContent = ({ isExporting, messageCount }: DefaultContentProps) => {
+const DefaultContent = ({
+ isExporting,
+ messageCount,
+ isDm,
+}: DefaultContentProps) => {
const theme = useTheme();
return (
@@ -42,7 +47,7 @@ const DefaultContent = ({ isExporting, messageCount }: DefaultContentProps) => {
>
Export Options
-
+ {!isDm && }
diff --git a/src/containers/export-button/export-button.tsx b/src/containers/export-button/export-button.tsx
index b6108b26..5d48933c 100644
--- a/src/containers/export-button/export-button.tsx
+++ b/src/containers/export-button/export-button.tsx
@@ -143,6 +143,7 @@ const ExportButton = ({
} else
return (