Update edit message and remote delete send/receive thresholds.

This commit is contained in:
Clark 2023-08-14 15:34:20 -04:00 committed by Clark Chen
parent 0303c96ee1
commit 8d0c41baa0

View file

@ -12,8 +12,8 @@ import kotlin.time.Duration.Companion.milliseconds
* have strict time limits.
*/
object MessageConstraintsUtil {
private val RECEIVE_THRESHOLD = TimeUnit.DAYS.toMillis(1)
private val SEND_THRESHOLD = TimeUnit.HOURS.toMillis(3)
private val RECEIVE_THRESHOLD = TimeUnit.DAYS.toMillis(2)
private val SEND_THRESHOLD = TimeUnit.DAYS.toMillis(1)
const val MAX_EDIT_COUNT = 10