Skip to content

Commit 94adb82

Browse files
committed
fix: remove audio recording icon for replies
1 parent 65140ab commit 94adb82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package/src/components/Reply/Reply.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ const RightContent = React.memo(
6666
);
6767
}
6868

69+
if (attachment?.type === FileTypes.VoiceRecording) {
70+
return null;
71+
}
72+
6973
if (attachment && isFileAttachment(attachment)) {
7074
return <FileIcon mimeType={attachment.mime_type} />;
7175
}

0 commit comments

Comments
 (0)