feat: add view model storage and other activity logic for conv settings, including activity result for existing search convo logic

This commit is contained in:
0x330a
2022-11-02 17:31:37 +11:00
parent f5801a57de
commit 880a3f603c
9 changed files with 174 additions and 29 deletions

View File

@@ -153,6 +153,8 @@ interface StorageProtocol {
fun trimThread(threadID: Long, threadLimit: Int)
fun trimThreadBefore(threadID: Long, timestamp: Long)
fun getMessageCount(threadID: Long): Long
fun setThreadPinned(threadID: Long, isPinned: Boolean)
fun isThreadPinned(threadID: Long): Boolean
// Contacts
fun getContactWithSessionID(sessionID: String): Contact?