Fix compile error (use of moved value)
This commit is contained in:
parent
47ef800dc6
commit
5f7fdd25eb
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ impl View for CollabTitlebarItem {
|
||||||
let user = self.user_store.read(cx).current_user();
|
let user = self.user_store.read(cx).current_user();
|
||||||
let peer_id = self.client.peer_id();
|
let peer_id = self.client.peer_id();
|
||||||
if let Some(((user, peer_id), room)) = user
|
if let Some(((user, peer_id), room)) = user
|
||||||
|
.as_ref()
|
||||||
.zip(peer_id)
|
.zip(peer_id)
|
||||||
.zip(ActiveCall::global(cx).read(cx).room().cloned())
|
.zip(ActiveCall::global(cx).read(cx).room().cloned())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue