From 0047609e664a501904fa039eccefa273e5b76f5f Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 20 Jan 2025 09:49:04 +0800 Subject: [PATCH] chore: remove unused code --- libs/client-api/src/collab_sync/collab_sink.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libs/client-api/src/collab_sync/collab_sink.rs b/libs/client-api/src/collab_sync/collab_sink.rs index f6b5d047b..82638e51a 100644 --- a/libs/client-api/src/collab_sync/collab_sink.rs +++ b/libs/client-api/src/collab_sync/collab_sink.rs @@ -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; }