diff --git a/src/services/highlightCreationService.ts b/src/services/highlightCreationService.ts index fd9e13b9..59222312 100644 --- a/src/services/highlightCreationService.ts +++ b/src/services/highlightCreationService.ts @@ -214,6 +214,12 @@ export async function createHighlight( } // Convert to Highlight with relay tracking info and return IMMEDIATELY + console.log('🔄 [HIGHLIGHT-CREATION] About to convert event to highlight:', { + eventId: signedEvent.id, + hasHighlightProps: !!(signedEvent as any).__highlightProps, + highlightProps: (signedEvent as any).__highlightProps + }) + const highlight = eventToHighlight(signedEvent) return highlight diff --git a/src/services/highlightEventProcessor.ts b/src/services/highlightEventProcessor.ts index 02d33353..ce05efad 100644 --- a/src/services/highlightEventProcessor.ts +++ b/src/services/highlightEventProcessor.ts @@ -31,6 +31,14 @@ export function eventToHighlight(event: NostrEvent): Highlight { // Check if this event has custom properties from our highlight creation process const customProps = (event as any).__highlightProps || {} + console.log('🔄 [EVENT-TO-HIGHLIGHT] Converting event to highlight:', { + eventId: event.id, + hasCustomProps: !!(event as any).__highlightProps, + customProps: customProps, + publishedRelays: customProps.publishedRelays, + isLocalOnly: customProps.isLocalOnly + }) + return { id: event.id, pubkey: event.pubkey,