Add auto-deletion timer to private messages.

This commit is contained in:
akwizgran
2020-11-19 12:57:07 +00:00
committed by Torsten Grote
parent 5305dd62d1
commit 3b6cc9c633
18 changed files with 208 additions and 75 deletions

View File

@@ -0,0 +1,11 @@
package org.briarproject.bramble.api.autodelete;
import static java.util.concurrent.TimeUnit.DAYS;
import static java.util.concurrent.TimeUnit.MINUTES;
public interface AutoDeleteConstants {
long MIN_AUTO_DELETE_TIMER_MS = MINUTES.toMillis(1);
long MAX_AUTO_DELETE_TIMER_MS = DAYS.toMillis(365);
}