fix: persist deliveryContext on last-route updates
Co-authored-by: Adam Holt <[email protected]>
This commit is contained in:
co-authored by
Adam Holt
parent
7b31b280f8
commit
1f3a09b43b
@@ -489,9 +489,11 @@ export const buildTelegramMessageContext = async ({
|
||||
await updateLastRoute({
|
||||
storePath,
|
||||
sessionKey: route.mainSessionKey,
|
||||
channel: "telegram",
|
||||
to: String(chatId),
|
||||
accountId: route.accountId,
|
||||
deliveryContext: {
|
||||
channel: "telegram",
|
||||
to: String(chatId),
|
||||
accountId: route.accountId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user