fix(list-message): remove duplicate header in nativeList conversion
When title is not provided, the text was used as fallback for both title and description, causing the header to appear twice. Now title only uses an explicit title field, description uses text. https://claude.ai/code/session_01SJdSHiUxtwzV8bb5dedodb
This commit is contained in:
@@ -1081,7 +1081,7 @@ export const generateWAMessageContent = async (
|
||||
// Legacy format (listMessage) works on all platforms
|
||||
const generated = generateListMessageLegacy(
|
||||
{ sections: listMsg.nativeList.sections },
|
||||
listMsg.title || listMsg.text || '',
|
||||
listMsg.title || '',
|
||||
listMsg.text || '',
|
||||
listMsg.nativeList.buttonText,
|
||||
listMsg.footer
|
||||
|
||||
Reference in New Issue
Block a user