mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-23 17:07:13 +00:00
Compare commits
2 Commits
158f284be9
...
f1511a9b8b
Author | SHA1 | Date | |
---|---|---|---|
|
f1511a9b8b | ||
|
49b628b7e0 |
@ -79,6 +79,9 @@ func validateEventTimestamp(evt nostr.Event) bool {
|
||||
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
|
||||
now := time.Now().Unix()
|
||||
minCreatedAt := cfg.EventTimeConstraints.MinCreatedAt
|
||||
|
Loading…
Reference in New Issue
Block a user