diff --git a/src/lib/chat/adapters/nip-17-adapter.ts b/src/lib/chat/adapters/nip-17-adapter.ts index ce3853c..3a23ca9 100644 --- a/src/lib/chat/adapters/nip-17-adapter.ts +++ b/src/lib/chat/adapters/nip-17-adapter.ts @@ -457,7 +457,7 @@ export class Nip17Adapter extends ChatProtocolAdapter { // Fetch user's own inbox relays (critical for both sending and receiving) // Try cached value first for performance, but fetch if empty to ensure reliability - let cachedUserRelays = giftWrapService.inboxRelays$.value; + const cachedUserRelays = giftWrapService.inboxRelays$.value; if (cachedUserRelays.length > 0) { // Use cached value if available participantInboxRelays[activePubkey] = cachedUserRelays;