Skip to content

Commit

Permalink
fix: Added support for reply status stories (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Aug 13, 2022
1 parent 3762ada commit 19b2729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat/functions/prepareRawMessage.ts
Expand Up @@ -166,7 +166,7 @@ export async function prepareRawMessage<T extends RawMessage>(
});
}

if (!options.quotedMsg.canReply()) {
if (!options.quotedMsg?.isStatusV3 && !options.quotedMsg.canReply()) {
throw new WPPError(
'quoted_msg_can_not_reply',
'QuotedMsg can not reply',
Expand Down

0 comments on commit 19b2729

Please sign in to comment.