Fix received messages deleted instantly

This commit is contained in:
Andrew 2024-01-12 13:51:37 +10:30
parent 12edb9dff9
commit 1339c60d06

View File

@ -135,6 +135,8 @@ class MarkReadReceiver : BroadcastReceiver() {
) {
Log.d(TAG, "MarkReadReceiver#scheduleDeletion() called with: expirationInfo = $expirationInfo, expiresIn = $expiresIn")
if (expiresIn == 0L) return
val now = nowWithOffset
val expireStarted = expirationInfo.expireStarted