Avoid infinite loop when collaborators follow each other

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Max Brunsfeld
2022-03-21 11:47:00 -07:00
co-authored by Antonio Scandurra
parent 13a2dacc60
commit 3e0bc979c3
4 changed files with 186 additions and 50 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use gpui::{
};
use language::{Bias, Buffer, Diagnostic, File as _};
use project::{File, Project, ProjectEntryId, ProjectPath};
use rpc::proto::{self, update_followers::update_view};
use rpc::proto::{self, update_view};
use std::{fmt::Write, path::PathBuf};
use text::{Point, Selection};
use util::ResultExt;