From a80ad1cbe58b8af5e45751e51d94d93c1cea1c9f Mon Sep 17 00:00:00 2001 From: Jacob Schlecht Date: Sun, 1 Mar 2026 12:06:13 -0700 Subject: [PATCH] fix: Fix typo for p256dh in vapid notification flow (#622) * fix: Fix typo for p256dh in vapid notification flow This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht * fix: Revert .clone() change as it works fine without that change This commit was made without the use of generative AI. Signed-off-by: Jacob Schlecht --------- Signed-off-by: Jacob Schlecht --- crates/daemons/pushd/src/consumers/inbound/dm_call.rs | 2 +- crates/daemons/pushd/src/consumers/inbound/fr_accepted.rs | 2 +- crates/daemons/pushd/src/consumers/inbound/fr_received.rs | 2 +- crates/daemons/pushd/src/consumers/inbound/generic.rs | 2 +- crates/daemons/pushd/src/consumers/inbound/mass_mention.rs | 2 +- crates/daemons/pushd/src/consumers/inbound/message.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/daemons/pushd/src/consumers/inbound/dm_call.rs b/crates/daemons/pushd/src/consumers/inbound/dm_call.rs index b5b89dc1..873b55cc 100644 --- a/crates/daemons/pushd/src/consumers/inbound/dm_call.rs +++ b/crates/daemons/pushd/src/consumers/inbound/dm_call.rs @@ -128,7 +128,7 @@ impl DmCallConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone()); diff --git a/crates/daemons/pushd/src/consumers/inbound/fr_accepted.rs b/crates/daemons/pushd/src/consumers/inbound/fr_accepted.rs index d525138c..115e4a26 100644 --- a/crates/daemons/pushd/src/consumers/inbound/fr_accepted.rs +++ b/crates/daemons/pushd/src/consumers/inbound/fr_accepted.rs @@ -101,7 +101,7 @@ impl FRAcceptedConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone()); diff --git a/crates/daemons/pushd/src/consumers/inbound/fr_received.rs b/crates/daemons/pushd/src/consumers/inbound/fr_received.rs index f64bc92b..c611dfaf 100644 --- a/crates/daemons/pushd/src/consumers/inbound/fr_received.rs +++ b/crates/daemons/pushd/src/consumers/inbound/fr_received.rs @@ -101,7 +101,7 @@ impl FRReceivedConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone()); diff --git a/crates/daemons/pushd/src/consumers/inbound/generic.rs b/crates/daemons/pushd/src/consumers/inbound/generic.rs index aa3950d7..302b1700 100644 --- a/crates/daemons/pushd/src/consumers/inbound/generic.rs +++ b/crates/daemons/pushd/src/consumers/inbound/generic.rs @@ -107,7 +107,7 @@ impl GenericConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone()); diff --git a/crates/daemons/pushd/src/consumers/inbound/mass_mention.rs b/crates/daemons/pushd/src/consumers/inbound/mass_mention.rs index bf5dd453..cb6f3c44 100644 --- a/crates/daemons/pushd/src/consumers/inbound/mass_mention.rs +++ b/crates/daemons/pushd/src/consumers/inbound/mass_mention.rs @@ -104,7 +104,7 @@ impl MassMessageConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone()); diff --git a/crates/daemons/pushd/src/consumers/inbound/message.rs b/crates/daemons/pushd/src/consumers/inbound/message.rs index 6b9d00fe..420c3707 100644 --- a/crates/daemons/pushd/src/consumers/inbound/message.rs +++ b/crates/daemons/pushd/src/consumers/inbound/message.rs @@ -107,7 +107,7 @@ impl MessageConsumer { config.pushd.vapid.queue.as_str(), ) .finish(); - sendable.extras.insert("p265dh".to_string(), sub.p256dh); + sendable.extras.insert("p256dh".to_string(), sub.p256dh); sendable .extras .insert("endpoint".to_string(), sub.endpoint.clone());