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 41bfa2a commit 19c1d77
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/components/channel-feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ export default function ChannelFeed(props) {
const idx = messages.length - 1;
const last = messages[idx];

if ((!!last.optimistic && user.handle == update.user.handle && last.files.length == update.files.length && (!!last.parent == !!update.parent)) || last.id == update.id) {
if (last.optimistic && user.handle == update.user.handle) {
return;
}

if (last.id == update.id) {

let mp = [...messages];

Expand Down

0 comments on commit 19c1d77

Please sign in to comment.