- Improved logging for delete events in handle-delete.go, including detailed information about the event and its tags.
- Added checks for admin and owner deletions, with appropriate logging for each case.
- Updated HandleEvent to process delete events more robustly, including success and error logging.
- Introduced a new fetchEventById function in nostr.js to verify event deletion.
- Updated App.svelte to handle event deletion verification and state management.
- Changed favicon references in HTML files to use the new orly-favicon.png.
- Added orly-favicon.png to the public and docs directories for consistent branding.
console.warn('Event still exists after deletion attempt:', deletedEvent);
alert(`Warning: Delete event was accepted by ${result.okCount} relay(s), but the event still exists on the relay. This may indicate the relay does not properly handle delete events.`);
} else {
console.log('Event successfully deleted and verified');
}
} catch (fetchError) {
console.log('Could not fetch event after deletion (likely deleted):', fetchError.message);
console.warn('Event still exists after deletion attempt:', deletedEvent);
alert(`Warning: Delete event was accepted by ${result.okCount} relay(s), but the event still exists on the relay. This may indicate the relay does not properly handle delete events.`);
} else {
console.log('Event successfully deleted and verified');
}
} catch (fetchError) {
console.log('Could not fetch event after deletion (likely deleted):', fetchError.message);