From 19b2729a500165c63352e5ac2e6432390858f18c Mon Sep 17 00:00:00 2001 From: Cleiton Carvalho Date: Sat, 13 Aug 2022 17:50:12 -0300 Subject: [PATCH] fix: Added support for reply status stories (#594) --- src/chat/functions/prepareRawMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/functions/prepareRawMessage.ts b/src/chat/functions/prepareRawMessage.ts index 8ecfa145a9..1010e8040d 100644 --- a/src/chat/functions/prepareRawMessage.ts +++ b/src/chat/functions/prepareRawMessage.ts @@ -166,7 +166,7 @@ export async function prepareRawMessage( }); } - if (!options.quotedMsg.canReply()) { + if (!options.quotedMsg?.isStatusV3 && !options.quotedMsg.canReply()) { throw new WPPError( 'quoted_msg_can_not_reply', 'QuotedMsg can not reply',