You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Session config key linkPreview: the default for a send-text or send-template that sets neither linkPreview nor customLinkPreview; a value in the request wins (#2080). Thanks @arraisfilho.
List the linkPreview session config key in the JavaScript, Python, Go and Java SDK types.
whatsapp-web.js: log the raw type of a message kept as an empty unknown (wwebjs_keep_unmapped, at LOG_LEVEL=debug), so a kind the gateway does not map can be named.
Log how many linked sessions stay disconnected because AUTO_START_SESSIONS is off, and how to start them: at boot, and when a session a vanished node left behind is marked disconnected (action=auto_start_disabled) (#2082). Thanks @arraisfilho.
Fixed
A message:sending plugin that rewrites a send-text to carry both linkPreview: false and customLinkPreview now gets the 400 the same request gets directly; Baileys sent it with the preview.
whatsapp-web.js: the header of an album no longer arrives as an empty unknown message, live, in the chat history or as a chat's last message; its photos and videos arrive as their own messages, as on Baileys (#2076).
whatsapp-web.js: the chat history (REST, MCP and plugin reads) returns a message deleted for everyone under the id of its stored row when its delete notice names the chat, or in a group the author, in the other id form (phone number or lid) and the gateway knows the two to be one person (#2076).
Dashboard: a message deleted for everyone is shown once when its history entry and its stored row name the chat or the author in different id forms, phone number and lid (#2076).
PATCH /sessions/{sessionId}/config no longer writes the characters of a string or the items of an array back as keys when the stored config is JSON but not an object, as a restored backup can hold.