GM!
May you have a great day!
Will try to finish the #khatru based relay with typesense integration I want to use to distribute metadata about educational resources.
Let's go! #OER
Login to reply
Replies (4)
GM π₯ letβs go sir π€
nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 writes smart code, but it took me some time to understand that DeleteEvent will actually receive the results form QueryEvent and not the actual Deletion Event. It totally makes sense. Now onwards.
But I only know #go for about a week. Should look into how to run the debugger on go code #khatru
I don't understand it but if you figured it out already then I won't do anything.
I don't like the DeleteEvent handlers very much myself, they need fixing.
I first thought the DeleteEvent handler will receive the actual kind-5 event.
But it seems like first a query is performed for each event mentioned in the kind-5 tags by #khatru and then the found events are each passed to the DeleteEvent handler.
I was confused at first, why the DeleteEvent handler is not receiving my kind-5 event.