Add job to clean up early message receipts.

This commit is contained in:
Greyson Parrelli
2022-03-21 18:40:17 -04:00
parent 093dd7c62c
commit 142979ce93
8 changed files with 166 additions and 28 deletions

View File

@@ -0,0 +1,16 @@
package org.thoughtcrime.securesms.database.model
import org.thoughtcrime.securesms.recipients.RecipientId
/**
* Represents the messages "ID" from the service's perspective, which identifies messages via a
* a (sender, timestamp) pair.
*/
data class ServiceMessageId(
val sender: RecipientId,
val sentTimestamp: Long
) {
override fun toString(): String {
return "MessageId($sender, $sentTimestamp)"
}
}