diff options
author | Hailey <me@haileyok.com> | 2024-05-03 15:08:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 15:08:59 -0700 |
commit | feff55a14a050665e6cc8bb7511425986ef4768a (patch) | |
tree | 894e06c164d84e586dfce2c766a06226124da098 /src/components | |
parent | 876816675e84d4175072950f36af5e19d412ce9b (diff) | |
download | voidsky-feff55a14a050665e6cc8bb7511425986ef4768a.tar.zst |
Clipclop tweaks (#3851)
* scroll on input resize * add back the padding 🙊 * fix timestamps
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/dms/MessageItem.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
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 |