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:
@@ -209,7 +209,6 @@ impl NotificationStore {
|
||||
async fn handle_new_notification(
|
||||
this: Model<Self>,
|
||||
envelope: TypedEnvelope<proto::AddNotification>,
|
||||
_: Arc<Client>,
|
||||
cx: AsyncAppContext,
|
||||
) -> Result<()> {
|
||||
Self::add_notifications(
|
||||
@@ -228,7 +227,6 @@ impl NotificationStore {
|
||||
async fn handle_delete_notification(
|
||||
this: Model<Self>,
|
||||
envelope: TypedEnvelope<proto::DeleteNotification>,
|
||||
_: Arc<Client>,
|
||||
mut cx: AsyncAppContext,
|
||||
) -> Result<()> {
|
||||
this.update(&mut cx, |this, cx| {
|
||||
@@ -240,7 +238,6 @@ impl NotificationStore {
|
||||
async fn handle_update_notification(
|
||||
this: Model<Self>,
|
||||
envelope: TypedEnvelope<proto::UpdateNotification>,
|
||||
_: Arc<Client>,
|
||||
mut cx: AsyncAppContext,
|
||||
) -> Result<()> {
|
||||
this.update(&mut cx, |this, cx| {
|
||||
|
||||
Reference in New Issue
Block a user