Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsrobot committed Dec 19, 2023
1 parent 4bca926 commit 54bc622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/channel-feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function ChannelFeed(props) {
const last = messages[idx];
const parentMessage = last.parent;

if (last.user.handle == user.handle && !parentMessage && files.length == 0 && (!last.files || last.files.length == 0)) {
if ((!!last.optimistic && user.handle == update.user.handle && last.files.length == update.files.length && (!!last.parent == !!update.parent)) || last.id == update.id) {

let mp = [...messages];

Expand Down

0 comments on commit 54bc622

Please sign in to comment.