mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-23 17:07:13 +00:00
Compare commits
No commits in common. "f1511a9b8be5e8008977e4fe2d58285af0c5b0fc" and "158f284be92a35ac00144ce736135a5cdb2c5c1d" have entirely different histories.
f1511a9b8b
...
158f284be9
@ -79,9 +79,6 @@ func validateEventTimestamp(evt nostr.Event) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust event time constraints in the configuration
|
|
||||||
utils.AdjustEventTimeConstraints(cfg)
|
|
||||||
|
|
||||||
// Use current time for max and a fixed date for min if not specified
|
// Use current time for max and a fixed date for min if not specified
|
||||||
now := time.Now().Unix()
|
now := time.Now().Unix()
|
||||||
minCreatedAt := cfg.EventTimeConstraints.MinCreatedAt
|
minCreatedAt := cfg.EventTimeConstraints.MinCreatedAt
|
||||||
|
Loading…
Reference in New Issue
Block a user