Skip to content
Snippets Groups Projects
Unverified Commit 6e2f78fe authored by Aleksander Nicacio da Silva's avatar Aleksander Nicacio da Silva Committed by GitHub
Browse files

feat: Added attachments to contact history message list (#29336)

parent 347e2060
No related branches found
No related tags found
No related merge requests found
---
'@rocket.chat/meteor': minor
---
Added ability to see attachments in the contact history message list
......@@ -25,6 +25,7 @@ import { getUserDisplayName } from '../../../../../lib/getUserDisplayName';
import UserAvatar from '../../../../components/avatar/UserAvatar';
import MessageContentBody from '../../../../components/message/MessageContentBody';
import StatusIndicators from '../../../../components/message/StatusIndicators';
import Attachments from '../../../../components/message/content/Attachments';
import UiKitSurface from '../../../../components/message/content/UiKitSurface';
import { useFormatDate } from '../../../../hooks/useFormatDate';
import { useFormatTime } from '../../../../hooks/useFormatTime';
......@@ -105,6 +106,7 @@ const ContactHistoryMessage: FC<{
</MessageBody>
)}
{message.blocks && <UiKitSurface mid={message._id} blocks={message.blocks} appId rid={message.rid} />}
{message.attachments && <Attachments attachments={message.attachments} />}
</MessageContainer>
</MessageTemplate>
</>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment