You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-13 01:20:28 +02:00
fix(auto-reply): include start and end dates in the auto-reply period; issue #2512
This commit is contained in:
@ -546,8 +546,8 @@ class User(Base, Email):
|
|||||||
now = date.today()
|
now = date.today()
|
||||||
return (
|
return (
|
||||||
self.reply_enabled and
|
self.reply_enabled and
|
||||||
self.reply_startdate < now and
|
self.reply_startdate <= now and
|
||||||
self.reply_enddate > now
|
self.reply_enddate >= now
|
||||||
)
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
1
towncrier/newsfragments/2512.bugfix
Normal file
1
towncrier/newsfragments/2512.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix: include start and end dates in the auto-reply period
|
Reference in New Issue
Block a user