From feff55a14a050665e6cc8bb7511425986ef4768a Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Fri, 3 May 2024 15:08:59 -0700
Subject: Clipclop tweaks (#3851)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* scroll on input resize

* add back the padding 🙊

* fix timestamps
---
 src/components/dms/MessageItem.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/components/dms/MessageItem.tsx')

diff --git a/src/components/dms/MessageItem.tsx b/src/components/dms/MessageItem.tsx
index ba90dd149..fd8edaf2d 100644
--- a/src/components/dms/MessageItem.tsx
+++ b/src/components/dms/MessageItem.tsx
@@ -32,6 +32,11 @@ export let MessageItem = ({
     next.sender?.did === currentAccount?.did
 
   const isLastInGroup = useMemo(() => {
+    // TODO this means it's a placeholder. Let's figure out the right way to do this though!
+    if (item.id.length > 13) {
+      return false
+    }
+
     // if the next message is from a different sender, then it's the last in the group
     if (isFromSelf ? !isNextFromSelf : isNextFromSelf) {
       return true
-- 
cgit 1.4.1

