Skip to content

Commit

Permalink
Rev debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 10, 2024
1 parent 44a90f1 commit 80ad638
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/handler/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ pub mod users {
continue;
}

// Ignore when user not visiting any project files.
if user.path.is_none() {
continue;
}

// Ignore if not in the same file.
if local_path != user.path.clone().unwrap() {
continue;
Expand Down
2 changes: 0 additions & 2 deletions src/handler/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,6 @@ pub mod sync {
let room = room.lock().await;
let client = room.get_client(addr).unwrap();

println!("addr: {:?}", addr);

if !check_entered(channel, client, METHOD).await {
return;
}
Expand Down

0 comments on commit 80ad638

Please sign in to comment.