mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 16:37:06 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user