Yuki Kishimoto on Nostr: Try to move the `client.subscribe` code and filter in the ...
Try to move the `client.subscribe` code and filter in the `process_reminder_notifications` func, between the `let mut notifications = client.notifications();` and `info!("listening for notifications");`
Published at
2024-04-16 20:50:59Event JSON
{
"id": "6a128759d381ea8e2dc4e88aa7719428ae4efa651e4741786c71bc731d43e0a6",
"pubkey": "68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"created_at": 1713300659,
"kind": 1,
"tags": [
[
"e",
"447713550f4a944190afc762075653bdccb16f74bd99496e85163d2ed9692e75",
"",
"root"
],
[
"e",
"8263ff7706511e8eeb5a1f37d3d29a4332c0abfd956bb936efbef43079fa2913"
],
[
"e",
"879596e29c0189ada53f4c2199f5701adbafc1e54546f00e7eb9742f81977d64",
"",
"reply"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
],
[
"p",
"f0293508f3eb9e6fe99c2fd8ba69ff446216872a2d9f67979bfa4db8b3155806"
],
[
"r",
"client.notifications"
]
],
"content": "Try to move the `client.subscribe` code and filter in the `process_reminder_notifications` func, between the `let mut notifications = client.notifications();` and `info!(\"listening for notifications\");`\n\n",
"sig": "cbe416c2b25565fdefdfc313f9eed2587dbed47cc967fd91b0b04a61efbe4c5dfa647e7a864d3bf9120b5ffa51d768c1bb9f0bad17db2d57c1fcd2298acc8acd"
}