mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-05-18 05:24:43 +00:00
[AB-xxx] changing timestamp used for updated in modmail reminder job
This commit is contained in:
@@ -105,6 +105,9 @@ public class ModmailReminderListener implements ModmailThreadActionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static Instant getUpdatedOrCrated(ModMailThread thread) {
|
private static Instant getUpdatedOrCrated(ModMailThread thread) {
|
||||||
|
if(thread.getLastUpdated() != null) {
|
||||||
|
return thread.getLastUpdated();
|
||||||
|
}
|
||||||
if(thread.getUpdated() != null) {
|
if(thread.getUpdated() != null) {
|
||||||
return thread.getUpdated();
|
return thread.getUpdated();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user