diff --git a/web/app/(app)/dashboard/(components)/message-history.tsx b/web/app/(app)/dashboard/(components)/message-history.tsx index b240c80..48699bb 100644 --- a/web/app/(app)/dashboard/(components)/message-history.tsx +++ b/web/app/(app)/dashboard/(components)/message-history.tsx @@ -533,7 +533,7 @@ function StatusDetailsDialog({ message }: { message: any }) { ); } -function MessageCard({ message, type }) { +function MessageCard({ message, type, device }) { const isSent = type === 'sent' const formattedDate = new Date( @@ -546,6 +546,8 @@ function MessageCard({ message, type }) { year: 'numeric', }) + const shouldShowStatus = device?.appVersionCode >= 14 && new Date(message?.createdAt) > new Date('2025-04-11') + return (
- {isSent && ( + {isSent && shouldShowStatus && (
@@ -906,6 +908,7 @@ export default function MessageHistory() { key={message._id} message={message} type={message.sender ? 'received' : 'sent'} + device={devices?.data?.find((device) => device._id === currentDevice)} /> ))}