Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Sep 12, 2024
1 parent e6a7f02 commit 857fb8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion y-octo-node/native/src/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ impl YDoc {
self.doc.apply_update_from_binary_v1(update)?;

// if update received from remote and current client state has been changed
// that means another client using same client id, we need to change the client id to avoid conflict
// that means another client using same client id, we need to change the client
// id to avoid conflict
if self.doc.get_state_vector().get(&client) != before_current_state {
self.doc.renew_client();
}
Expand Down

0 comments on commit 857fb8f

Please sign in to comment.