From 1df38aec3a4e8ce02bfa772282ec905481253dbb Mon Sep 17 00:00:00 2001 From: Negezor Date: Tue, 9 Jan 2024 23:03:33 +1100 Subject: [PATCH] fix(contexts): fix missing out in apply payload --- packages/vk-io/src/structures/contexts/message.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/vk-io/src/structures/contexts/message.ts b/packages/vk-io/src/structures/contexts/message.ts index 56b17e511..862690531 100644 --- a/packages/vk-io/src/structures/contexts/message.ts +++ b/packages/vk-io/src/structures/contexts/message.ts @@ -216,7 +216,10 @@ class MessageContext const [message] = items; - this.applyPayload(message as IMessageContextPayload['message']); + this.applyPayload({ + out: Number(this.isOutbox), + ...message as Omit, + }); this.$filled = true; }