chore: remove unused code

This commit is contained in:
Lucas 2025-01-20 09:49:04 +08:00 committed by GitHub
parent cf28e4dc7c
commit 0047609e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 14 deletions

View File

@ -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;
}