Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 authored Jan 20, 2025
1 parent cf28e4d commit 0047609
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions libs/client-api/src/collab_sync/collab_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,20 +380,6 @@ where
.or_insert(vec![])
.push(next.msg_id());

// let last_message = last.message();
// let next_message = next.message();
// if last_message.is_awareness_sync() && next_message.is_update_sync()
// || (last_message.is_update_sync() && next_message.is_awareness_sync())
// {
// error!(
// "[collab_sync] ❎ different type of message: id: {:?}, type: {:?}, with message: {:?}, type: {:?}",
// last.msg_id(),
// last_message,
// next.msg_id(),
// next_message,
// );
// }

// If the last message is merged with the next message, don't push the next message
continue;
}
Expand Down

0 comments on commit 0047609

Please sign in to comment.