mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-18 04:50:38 +00:00
[AB-284] resizing warn length and changing default date behaviour for mute
This commit is contained in:
@@ -97,7 +97,9 @@ public class Mute implements Serializable {
|
||||
|
||||
@PrePersist
|
||||
private void onInsert() {
|
||||
this.muteDate = Instant.now();
|
||||
if(muteDate == null) {
|
||||
this.muteDate = Instant.now();
|
||||
}
|
||||
}
|
||||
|
||||
@Column(name = "updated", insertable = false, updatable = false)
|
||||
|
||||
Reference in New Issue
Block a user