fix: persist deliveryContext on last-route updates

Co-authored-by: Adam Holt <mail@adamholt.co.nz>
This commit is contained in:
Peter SteinbergerandAdam Holt committed 2026-01-17 06:54:31 +00:00
1 parent 7b31b280f8
commit 1f3a09b43b
9 files changed
+88 -27

No files matched your search

+5 -3
View File
@@ -28,9 +28,11 @@ export function updateLastRouteInBackground(params: {
const task = updateLastRoute({
storePath,
sessionKey: params.sessionKey,
channel: params.channel,
to: params.to,
accountId: params.accountId,
deliveryContext: {
channel: params.channel,
to: params.to,
accountId: params.accountId,
},
}).catch((err) => {
params.warn(
{