Skip to content

Commit

Permalink
fix: Fixed sendListMessage and send product (close #2162 close #2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Jul 26, 2024
1 parent 05cd39b commit 1136e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chat/functions/prepareMessageButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ webpack.onFullReady(() => {
return node;
}

const content = node.content as websocket.WapNode[];
const content =
(node.content as websocket.WapNode[]) || (node as any).stanza.content;

let bizNode = content.find((c) => c.tag === 'biz');

Expand Down

0 comments on commit 1136e0a

Please sign in to comment.