diff --git a/src/lib/feed.ts b/src/lib/feed.ts index b9e16792..5aa961b0 100644 --- a/src/lib/feed.ts +++ b/src/lib/feed.ts @@ -40,7 +40,7 @@ export const getFeed = (user_pubkey: string | undefined, pubkey: string | undef payload.include_replies = include_replies; } - console.log('FEED SEND MESSAGE') + console.log('FEED SEND MESSAGE: ', payload) sendMessage(JSON.stringify([ "REQ", subid, diff --git a/src/sockets.tsx b/src/sockets.tsx index 155dd096..864439ff 100644 --- a/src/sockets.tsx +++ b/src/sockets.tsx @@ -65,7 +65,7 @@ export const reset = () => { export const sendMessage = (message: string) => { const sct = socket(); - console.log('FEED CONNECTED: ', sct) + console.log('FEED CONNECTED: ', sct, message, isConnected()); if (sct && isConnected()) { console.log('FEED CONNECTED EVENT') const e = new CustomEvent('send', { detail: { message, ws: socket() }});