a big bundle of conversions and other changes.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
package bluge
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"fiatjaf.com/nostr"
|
||||
)
|
||||
|
||||
func (b *BlugeBackend) DeleteEvent(ctx context.Context, evt *nostr.Event) error {
|
||||
return b.writer.Delete(eventIdentifier(evt.ID))
|
||||
func (b *BlugeBackend) DeleteEvent(id nostr.ID) error {
|
||||
return b.writer.Delete(eventIdentifier(id))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user