{
+ const [attachment] = props.attachments ?? [];
+
+ if (attachment?.type === 'live_location') {
+ return (
+
+ lat: {attachment.latitude}, lng: {attachment.longitude}
+
+ );
+ }
+
+ return ;
+ }}
+ >
+
diff --git a/src/components/Attachment/Attachment.tsx b/src/components/Attachment/Attachment.tsx
index f1c32c43a..a29c4d4d4 100644
--- a/src/components/Attachment/Attachment.tsx
+++ b/src/components/Attachment/Attachment.tsx
@@ -41,6 +41,7 @@ const CONTAINER_MAP = {
media: MediaContainer,
unsupported: UnsupportedAttachmentContainer,
voiceRecording: VoiceRecordingContainer,
+ // geolocation: () =>