Show host in titlebar
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
219715449d
commit
1cfc2f0c07
7 changed files with 110 additions and 2 deletions
|
@ -595,6 +595,10 @@ impl UserStore {
|
|||
self.load_users(proto::FuzzySearchUsers { query }, cx)
|
||||
}
|
||||
|
||||
pub fn get_cached_user(&self, user_id: u64) -> Option<Arc<User>> {
|
||||
self.users.get(&user_id).cloned()
|
||||
}
|
||||
|
||||
pub fn get_user(
|
||||
&mut self,
|
||||
user_id: u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue