mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Update edit message and remote delete send/receive thresholds.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user