mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-02 19:18:07 +00: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