chore: disable read status for voice channel

This commit is contained in:
Sojan
2025-05-13 04:05:01 -07:00
parent e06525181b
commit 1e9180d3cd
2 changed files with 8 additions and 0 deletions
@@ -20,6 +20,7 @@ const {
isAWhatsAppChannel,
isAnEmailChannel,
isAnInstagramChannel,
isAVoiceChannel,
} = useInbox();
const {
@@ -41,6 +42,8 @@ const showStatusIndicator = computed(() => {
if (status.value === MESSAGE_STATUS.FAILED) return false;
// Don't show status for deleted messages
if (contentAttributes.value?.deleted) return false;
// Don't show status for transcription messages
if (isAVoiceChannel.value) return false;
if (messageType.value === MESSAGE_TYPES.OUTGOING) return true;
if (messageType.value === MESSAGE_TYPES.TEMPLATE) return true;