refactored SaveEvent to return if it is replacing an event
Some checks failed
Go / build (push) Has been cancelled
Some checks failed
Go / build (push) Has been cancelled
This commit is contained in:
@@ -84,7 +84,7 @@ type Saver interface {
|
||||
// SaveEvent is called once relay.AcceptEvent reports true. The owners
|
||||
// parameter is for designating admins whose delete by e tag events apply
|
||||
// the same as author's own.
|
||||
SaveEvent(c context.Context, ev *event.E) (err error, replaced bool)
|
||||
SaveEvent(c context.Context, ev *event.E) (replaced bool, err error)
|
||||
}
|
||||
|
||||
type Importer interface {
|
||||
|
||||
Reference in New Issue
Block a user