fix: add required previous field to GroupMessageBlueprint options

GroupMessageBlueprintOptions requires a 'previous' field for message threading.
Added empty array for now since we don't support threading yet.
This commit is contained in:
Claude
2026-01-21 15:06:47 +00:00
parent 01cdaedc8a
commit ddf0519a57

View File

@@ -447,6 +447,7 @@ export class Nip29Adapter extends ChatProtocolAdapter {
{ id: groupId, relay: relayUrl },
content,
{
previous: [], // No threading for now
emojis: options?.emojiTags?.map((e) => ({
shortcode: e.shortcode,
url: e.url,