Flatten protobuf message namespace
* Remove `FromClient`/`FromServer` distinction. * Remove `subscribe` concept - clients will need to handle unprompted messages from the server. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
546ce14cb9
commit
e88f33851e
@@ -673,8 +673,8 @@ impl Workspace {
|
||||
let rpc_client = RpcClient::new(stream, executor);
|
||||
|
||||
let auth_response = rpc_client
|
||||
.request(proto::from_client::Auth {
|
||||
user_id: user_id.parse::<i32>()?,
|
||||
.request(proto::Auth {
|
||||
user_id: user_id.parse::<u64>()?,
|
||||
access_token,
|
||||
})
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user