Show warning when enabling autoDelete

This commit is contained in:
Moez Bhatti
2020-12-22 00:00:42 -05:00
parent 0cfca58350
commit b087de8f73
7 changed files with 54 additions and 4 deletions
@@ -91,4 +91,4 @@ interface ConversationRepository {
fun deleteConversations(vararg threadIds: Long)
}
}
@@ -102,4 +102,9 @@ interface MessageRepository {
fun deleteMessages(vararg messageIds: Long)
/**
* Returns the number of messages older than [maxAgeDays] per conversation
*/
fun getOldMessageCounts(maxAgeDays: Int): Map<Long, Int>
}