Remove never-used client parameter from message handler functions (#13406)
Every single client-side RPC message handler function took an unused `Arc<Client>` parameter. This removes that. Release Notes: - N/A
This commit is contained in:
parent
988ee93a81
commit
6fba1e46a8
12 changed files with 29 additions and 87 deletions
|
@ -4350,7 +4350,6 @@ impl WorkspaceStore {
|
|||
pub async fn handle_follow(
|
||||
this: Model<Self>,
|
||||
envelope: TypedEnvelope<proto::Follow>,
|
||||
_: Arc<Client>,
|
||||
mut cx: AsyncAppContext,
|
||||
) -> Result<proto::FollowResponse> {
|
||||
this.update(&mut cx, |this, cx| {
|
||||
|
@ -4396,7 +4395,6 @@ impl WorkspaceStore {
|
|||
async fn handle_update_followers(
|
||||
this: Model<Self>,
|
||||
envelope: TypedEnvelope<proto::UpdateFollowers>,
|
||||
_: Arc<Client>,
|
||||
mut cx: AsyncAppContext,
|
||||
) -> Result<()> {
|
||||
let leader_id = envelope.original_sender_id()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue