feat: add basic last sent legacy message DB migration and creation for banner

This commit is contained in:
0x330a
2023-11-13 08:38:33 +11:00
parent 806cb216ae
commit d12bce54bd
4 changed files with 43 additions and 1 deletions

View File

@@ -38,4 +38,7 @@ interface LokiAPIDatabaseProtocol {
fun getForkInfo(): ForkInfo
fun setForkInfo(forkInfo: ForkInfo)
fun migrateLegacyOpenGroup(legacyServerId: String, newServerId: String)
fun getLastLegacySenderAddress(threadRecipientAddress: String): String?
fun setLastLegacySenderAddress(threadRecipientAddress: String, senderRecipientAddress: String?)
}